You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now the output of travis is too large to render, partially because a lot of deprecation warnings and partially because of warnings from the common tests. The common tests should catch all the deprecation warnings and probably also convergence warnings or numerical warnings (we decrease the number of iterations for faster testing).
On your machine, you can run the tests with pytest -r a sklearn. At the end of the script, pytest prints a "warnings summary". It would be great to silence the expected warnings, such as convergence warnings.
Example: pytest -r a sklearn/linear_model/tests/test_coordinate_descent.py:
sklearn/linear_model/tests/test_coordinate_descent.py ...................................
=========================================================== warnings summary ============================================================
sklearn/linear_model/tests/test_coordinate_descent.py::test_lasso_cv_with_some_model_selection
/cal/homes/tdupre/work/src/scikit-learn/sklearn/model_selection/_split.py:605: Warning: The least populated class in y has only 1 members, which is too few. The minimum number of members in any class cannot be less than n_splits=5.
% (min_groups, self.n_splits)), Warning)
sklearn/linear_model/tests/test_coordinate_descent.py::test_multitask_enet_and_lasso_cv
/cal/homes/tdupre/work/src/scikit-learn/sklearn/linear_model/coordinate_descent.py:1783: ConvergenceWarning: Objective did not converge, you might want to increase the number of iterations
ConvergenceWarning)
/cal/homes/tdupre/work/src/scikit-learn/sklearn/linear_model/coordinate_descent.py:1783: ConvergenceWarning: Objective did not converge, you might want to increase the number of iterations
ConvergenceWarning)
sklearn/linear_model/tests/test_coordinate_descent.py::test_check_input_false
/cal/homes/tdupre/work/src/scikit-learn/sklearn/linear_model/coordinate_descent.py:491: ConvergenceWarning: Objective did not converge. You might want to increase the number of iterations. Fitting data with very small alpha may cause precision problems.
ConvergenceWarning)
To silence warnings, see sklearn.utils.testing.ignore_warnings:
Hi, I am looking into this issue, I figure the "common tests" means the test_common.py under the tests directory? I tried running the test but no warning is generated, could you tell me what warning is expected? Thanks a lot.
============================================= test session starts =============================================
platform darwin -- Python 3.6.1, pytest-3.0.7, py-1.4.33, pluggy-0.4.0
rootdir: /Users/sw/programming/opensourceproject/scikit-learn, inifile: setup.cfg
plugins: pep8-1.0.6
collected 4822 items
test_common.py .........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................s............................................................................s............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................s.........................................................................................................................................................................................................................................................................................................s................................................................................................................................................................................................................................s..................................s..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................s............................................................................................................................................................................................................................................................................s........................................................................................................................................................................................................................................................................................................................................................................................................................
=========================================== short test summary info ===========================================
SKIP [1] /anaconda/lib/python3.6/site-packages/_pytest/nose.py:23: score_samples of BernoulliRBM is not invariant when applied to a subset.
SKIP [3] /anaconda/lib/python3.6/site-packages/_pytest/nose.py:23: Skipping check_estimators_data_not_an_array for cross decomposition module as estimators are not deterministic.
SKIP [1] /anaconda/lib/python3.6/site-packages/_pytest/nose.py:23: transform of MiniBatchSparsePCA is not invariant when applied to a subset.
SKIP [1] /anaconda/lib/python3.6/site-packages/_pytest/nose.py:23: Not testing NuSVC class weight as it is ignored.
SKIP [1] /anaconda/lib/python3.6/site-packages/_pytest/nose.py:23: decision_function of SVC is not invariant when applied to a subset.
SKIP [1] /anaconda/lib/python3.6/site-packages/_pytest/nose.py:23: transform of SparsePCA is not invariant when applied to a subset.
=================================== 4814 passed, 8 skipped in 72.05 seconds ===================================
Huh, That's weird. I did have -r a, and the command was: pytest -r a sklearn/tests/test_common.py. But as shown above, no warning was generated, I tried pytest -r a sklearn/tests/test_common.py --strict and found one deprecationwarning and a bunch of errors.
Last time I looked at this, I realised that one of the problem (there may be more) was that assert_warns_* resets warnings.filters which overrides the ignore_warnings used as a decorator. It does not seem like a great idea and the reason for it is slightly unclear. Below is a snippet to show the problem:
importwarningsimportpytestfromsklearn.utils.testingimportignore_warningsfromsklearn.utils.testingimportassert_warns_messagedefwarns():
warnings.warn("some warning")
return1@ignore_warnings()deftest_1():
print('before:', warnings.filters)
assert_warns_message(UserWarning, 'some warning', warns)
print('after:', warnings.filters)
# This warning is visible because assert_warns_message resets# warnings.filters.warns()
deftest_12():
print('test12:', warnings.filters)
ignore_common_warnings=pytest.mark.filterwarnings('ignore::UserWarning')
@ignore_common_warningsdeftest_2():
warns()
@ignore_common_warningsdeftest_3():
assert_warns_message(UserWarning, 'some warning', warns)
# This warning is visiblewarns()
If someone has a semi-automated way of replacing the assert_warns*, why not, but it could well be the case that some downstream packages are using them.
Maybe implementing assert_warns_* in terms of pytest_warns is a less tedious and less intrusive change to implement, i.e. something like this (not tested):
The reason is that there were bugs in Python around warning registry.
pytest might have ironed out the wrinkles, so I'm +1 for using or wrapping
it if possible.
to warant keeping a wrapper, I think. Directly using pytest warning capture in the code base without a wrapper would be IMO cleaner for contributors reading the code... That could be a part of cleaning up assert_* functions in general #10728 (comment)
After more investigation, the issue with using ignore_warnings as a wrapper for pytest.warn or replace it altogether in this issue is that sklearn/utils/estimator_checks.py use ignore_warnings and we don't want to make it depend on pytest. Unless ones use a decorator that optionally ignores warnings only if pytest is installed which is also not ideal.
That really helped me understand, thanks a lot! @jnothman
I have figured out the reason: each check in the estimator_checks.py uses the ignore_warnings decorator, which calls clean_warning_registry() and reset the filters given by the parents. By the time the check actually starts running, it only has the filters it defined itself in the decorator. For example:
deftest_non_meta_estimators(name, Estimator, check):
withignore_warnings(category=(DeprecationWarning, ConvergenceWarning,
UserWarning, FutureWarning)): # this will be reset by check's ignore_warnings# Common tests for non-meta estimatorsestimator=Estimator()
set_checking_parameters(estimator)
check(name, estimator)
# this will reset ignore_warnings, leaving only DeprecationWarning and FutureWarning filters@ignore_warnings(category=(DeprecationWarning, FutureWarning))defcheck_dont_overwrite_parameters(name, estimator_orig):
I have to say that I don't see why it has to overwrite the filters passed to it, I guess, to me, it makes more sense to add more filters (as defined in the check's decorator) instead of reset the filters.
I could implement the adding more filters thing, but if you are worried about affecting other code, I could also just remove all the ignore_warnings decorators for the checks, and only have this decorator in the test_common.
I think the discrepancy between the context manager and decorator forms of
ignore_warnings should be fixed. I am not sure if that will fix all the
issues here.
Clearing the warning registry is not about changing the filters, iirc, but
affects filters that only display the first of duplicate warnings
I am pretty sure I got it right in my previous post. @jnothman , I don't quite understand what you mean by "affects filters that only display the first of duplicate warnings", but I'm think the clean_warning_registry in ignore_warnings will reset warning filters (which is the cause of the problem):
When using ignore_warnings as decorator and context manager, it will call clean_warning_registry(), and the clean_warning_registry() will call warnings.resetwarnings(), which reset all the warning filters:
defresetwarnings():
"""Clear the list of warning filters, so that no filters are active."""filters[:] = []
_filters_mutated()
I have tried adding catch_warnings to the context manager as you suggested, but it doesn't work, then I looked into the source code and found out it was dealing with warning filters, but since the warning filters are reset in the low level check functions, it doesn't matter adding catch_warnings or not.
And removing ignore_warnings for all the check functions in estimator_checks.py indeed fixed the problem and cleared the warnings, this is working. But this isn't a fix, only a way to avoid dealing with it, could you take a look at the two methods I suggested in the previous post and tell me what kind of fix you have in mind? I would very much appreciate it.
Yes, I see. clear_warnings_registry does indeed affect filters that only display the first of duplicate warnings (i.e. simplefilter('once'). But it also, as you say, removes any filters with resetwarnings.
But this only applies to the current catch_warnings scope:
In [9]: warnings.resetwarnings()
In [10]: warnings.filtersOut[10]: []
In [11]: warnings.simplefilter('ignore')
In [12]: withwarnings.catch_warnings() asc:
...: warnings.resetwarnings()
...: print(warnings.filters)
...:
[]
In [13]: print(warnings.filters)
[('ignore', None, <class'Warning'>, None, 0)]
This means that it does indeed matter whether the ignore_warnings context manager operates within a catch_warnings context, because when ignore_warnings is __enter__ed, its simplefilter('ignore', self.category) will affect non-local scope.
I have not understood your proposals @ShangwuYao. A PR with an example would help clarify.
I think we could remove resetwarnings from clear_warnings_registry and move it into ignore_warnings only (not into the assert_warns variants)...
Another solution would be to backport pytest.warns for use in estimator checks. It is fairly self-sufficient:
Details
from __future__ importabsolute_import, division, print_functionimportinspectimportpyimportsysimportwarningsimportredefwarns(expected_warning, *args, **kwargs):
"""Assert that code raises a particular class of warning. Specifically, the parameter ``expected_warning`` can be a warning class or sequence of warning classes, and the inside the ``with`` block must issue a warning of that class or classes. This helper produces a list of :class:`warnings.WarningMessage` objects, one for each warning raised. This function can be used as a context manager, or any of the other ways ``pytest.raises`` can be used:: >>> with warns(RuntimeWarning): ... warnings.warn("my warning", RuntimeWarning) In the context manager form you may use the keyword argument ``match`` to assert that the exception matches a text or regex:: >>> with warns(UserWarning, match='must be 0 or None'): ... warnings.warn("value must be 0 or None", UserWarning) >>> with warns(UserWarning, match=r'must be \d+$'): ... warnings.warn("value must be 42", UserWarning) >>> with warns(UserWarning, match=r'must be \d+$'): ... warnings.warn("this is not here", UserWarning) Traceback (most recent call last): ... Failed: DID NOT WARN. No warnings of type ...UserWarning... was emitted... """match_expr=Noneifnotargs:
if"match"inkwargs:
match_expr=kwargs.pop("match")
returnWarningsChecker(expected_warning, match_expr=match_expr)
else:
func=args[0]
withWarningsChecker(expected_warning, match_expr=match_expr):
returnfunc(*args[1:], **kwargs)
classWarningsRecorder(warnings.catch_warnings):
"""A context manager to record raised warnings. Adapted from `warnings.catch_warnings`. """def__init__(self):
super(WarningsRecorder, self).__init__(record=True)
self._entered=Falseself._list= []
@propertydeflist(self):
"""The list of recorded warnings."""returnself._listdef__getitem__(self, i):
"""Get a recorded warning by index."""returnself._list[i]
def__iter__(self):
"""Iterate through the recorded warnings."""returniter(self._list)
def__len__(self):
"""The number of recorded warnings."""returnlen(self._list)
defpop(self, cls=Warning):
"""Pop the first recorded warning, raise exception if not exists."""fori, winenumerate(self._list):
ifissubclass(w.category, cls):
returnself._list.pop(i)
__tracebackhide__=TrueraiseAssertionError("%r not found in warning list"%cls)
defclear(self):
"""Clear the list of recorded warnings."""self._list[:] = []
def__enter__(self):
ifself._entered:
__tracebackhide__=TrueraiseRuntimeError("Cannot enter %r twice"%self)
self._list=super(WarningsRecorder, self).__enter__()
warnings.simplefilter("always")
returnselfdef__exit__(self, *exc_info):
ifnotself._entered:
__tracebackhide__=TrueraiseRuntimeError("Cannot exit %r without entering first"%self)
super(WarningsRecorder, self).__exit__(*exc_info)
classWarningsChecker(WarningsRecorder):
def__init__(self, expected_warning=None, match_expr=None):
super(WarningsChecker, self).__init__()
msg= (
"exceptions must be old-style classes or ""derived from Warning, not %s"
)
ifisinstance(expected_warning, tuple):
forexcinexpected_warning:
ifnotinspect.isclass(exc):
raiseTypeError(msg%type(exc))
elifinspect.isclass(expected_warning):
expected_warning= (expected_warning,)
elifexpected_warningisnotNone:
raiseTypeError(msg%type(expected_warning))
self.expected_warning=expected_warningself.match_expr=match_exprdef__exit__(self, *exc_info):
super(WarningsChecker, self).__exit__(*exc_info)
# only check if we're not currently handling an exceptionifall(aisNoneforainexc_info):
ifself.expected_warningisnotNone:
ifnotany(issubclass(r.category, self.expected_warning) forrinself):
__tracebackhide__=TrueraiseAssertionError(
"DID NOT WARN. No warnings of type {} was emitted. ""The list of emitted warnings is: {}.".format(
self.expected_warning, [each.messageforeachinself]
)
)
elifself.match_exprisnotNone:
forrinself:
ifissubclass(r.category, self.expected_warning):
ifre.compile(self.match_expr).search(str(r.message)):
breakelse:
raiseAssertionError(
"DID NOT WARN. No warnings of type {} matching"" ('{}') was emitted. The list of emitted warnings"" is: {}.".format(
self.expected_warning,
self.match_expr,
[each.messageforeachinself],
)
)
Thank you so much for the clarification @jnothman , I absolutely agree with what you said. Not using catch_warnings is a bug, and we should definitely fix it. But I don't think that is the cause for the warnings not being ignored here, the real reason is, here they use ignore_warnings at different layers, and ignore_warnings doesn't cover the warnings we want to ignore in the layers the warnings is actually raised. For example:
In [38]: print(warnings.filters)
[]
In [39]: warnings.simplefilter('ignore', UserWarning)In [40]: print(warnings.filters)
[('ignore', None, <class 'UserWarning'>, None, 0)]
In [41]: with ignore_warnings(category=(DeprecationWarning)): #[a test in test_common.py]...: print(warnings.filters)...: with ignore_warnings(category=(UserWarning)): #[a check in estimator_checks.py]...: print(warnings.filters)...: warnings.warn("yo", DeprecationWarning)...:
[('ignore', None, <class 'DeprecationWarning'>, None, 0)]
[('ignore', None, <class 'UserWarning'>, None, 0)]
/anaconda/bin/ipython:5: DeprecationWarning: yoIn [42]: print(warnings.filters)
[]
tests in test_common.py calls checks in estimator_checks.py, and checks use ignore_warnings as well as tests, in this example, the tests want to ignore DeprecationWarning, but the checks want to ignore UserWarning, so even though we used ignore_warnings in test_common.py, the DeprecationWarning is not ignored.
that's true, but the non-local scope is affected, (I mean the third output is wrong, not the second). In both examples, I set a filter for UserWarning, but after the call to controlled_warning*, the non-local filter got reset.
(and there is another post above that, could you please take a look as well, thanks!)
I looked at this one a bit more in details and I am in favour of never calling warnings.resetwarnings in ignore_warnings, neither when using ignore_warnings to wrap a function nor when using it as a context manager. Here is a snippet to illustrate my point, which is similar to how sklearn/tests/test_common.py is organized.
In other words the innermost ignore_warnings wins and completely overrides all the others which I find unexpected. This is annoying because sometimes you want to ignore warnings in the test (in sklearn/tests/test_common.py), sometimes in the check (in sklearn/utils/estimator_checks.py) and you would like both levels to cooperate.
I completely understand the need for the __warningregistry__ hack but I really do not get the need for warnings.resetfilters. I found that numpy and scikit-image have their own way (see numpy and scikit-image approach) of cleaning __warningregistry__ but do not seem to resort to warnings.resetfilters.
If I comment warnings.resetfilters all the test pass but one
deftest_warn(self):
deff():
warnings.warn("yo")
return3# Test that assert_warns is not impacted by externally set# filters and is reset internally.# This is because `clean_warning_registry()` is called internally by# assert_warns and clears all previous filters.warnings.simplefilter("ignore", UserWarning)
assert_equal(assert_warns(UserWarning, f), 3)
# Test that the warning registry is empty after assert_warnsassert_equal(sys.modules['warnings'].filters, []) # Note: test fails here
I really don't think that affecting warning.filters globally is a good-side effect of assert_warns we should rather check that __warningregistry__ has been cleaned as expected.
Activity
amueller commentedon May 20, 2018
I meant deprecation warnings raised in scikit-learn, not in Numpy. That one you mention is during compilation. I meant during testing.
TomDLT commentedon May 22, 2018
On your machine, you can run the tests with
pytest -r a sklearn. At the end of the script, pytest prints a "warnings summary". It would be great to silence the expected warnings, such as convergence warnings.Example:
pytest -r a sklearn/linear_model/tests/test_coordinate_descent.py:To silence warnings, see
sklearn.utils.testing.ignore_warnings:scikit-learn/sklearn/utils/testing.py
Lines 269 to 292 in 4b24fbe
ShangwuYao commentedon May 27, 2018
Hi, I am looking into this issue, I figure the "common tests" means the test_common.py under the tests directory? I tried running the test but no warning is generated, could you tell me what warning is expected? Thanks a lot.
rth commentedon May 27, 2018
Yes
You need to add the
-r apytest CLI option as indicated in #11109 (comment)ShangwuYao commentedon May 27, 2018
Huh, That's weird. I did have
-r a, and the command was:pytest -r a sklearn/tests/test_common.py. But as shown above, no warning was generated, I triedpytest -r a sklearn/tests/test_common.py --strictand found one deprecationwarning and a bunch of errors.ShangwuYao commentedon May 27, 2018
figured out, I was using an older pytest verision.
lesteve commentedon May 28, 2018
Last time I looked at this, I realised that one of the problem (there may be more) was that
assert_warns_*resetswarnings.filterswhich overrides theignore_warningsused as a decorator. It does not seem like a great idea and the reason for it is slightly unclear. Below is a snippet to show the problem:rth commentedon May 28, 2018
Interesting. I would be in favor of replacing
assert_warns_message(UserWarning, 'some warning', warn)with,to avoid dealing with it..
lesteve commentedon May 28, 2018
If someone has a semi-automated way of replacing the
assert_warns*, why not, but it could well be the case that some downstream packages are using them.Maybe implementing
assert_warns_*in terms ofpytest_warnsis a less tedious and less intrusive change to implement, i.e. something like this (not tested):jnothman commentedon May 28, 2018
rth commentedon May 28, 2018
We could still keep
assert_warns_*for a deprecation cycle inutils/testing.pyin any caseTrue, that would be faster, but then there isn't that many lines to change,
to warant keeping a wrapper, I think. Directly using pytest warning capture in the code base without a wrapper would be IMO cleaner for contributors reading the code... That could be a part of cleaning up
assert_*functions in general #10728 (comment)4 remaining items
rth commentedon May 30, 2018
After more investigation, the issue with using
ignore_warningsas a wrapper forpytest.warnor replace it altogether in this issue is thatsklearn/utils/estimator_checks.pyuseignore_warningsand we don't want to make it depend on pytest. Unless ones use a decorator that optionally ignores warnings only ifpytestis installed which is also not ideal.ShangwuYao commentedon May 30, 2018
That really helped me understand, thanks a lot! @jnothman
I have figured out the reason: each check in the
estimator_checks.pyuses theignore_warningsdecorator, which callsclean_warning_registry()and reset the filters given by the parents. By the time the check actually starts running, it only has the filters it defined itself in the decorator. For example:I have to say that I don't see why it has to overwrite the filters passed to it, I guess, to me, it makes more sense to add more filters (as defined in the check's decorator) instead of reset the filters.
I could implement the adding more filters thing, but if you are worried about affecting other code, I could also just remove all the
ignore_warningsdecorators for the checks, and only have this decorator in thetest_common.ShangwuYao commentedon Jun 1, 2018
Could someone confirm this? Appreciate it
jnothman commentedon Jun 2, 2018
ShangwuYao commentedon Jun 4, 2018
I am pretty sure I got it right in my previous post.
@jnothman , I don't quite understand what you mean by "affects filters that only display the first of duplicate warnings", but I'm think the
clean_warning_registryinignore_warningswill reset warning filters (which is the cause of the problem):When using
ignore_warningsas decorator and context manager, it will callclean_warning_registry(), and theclean_warning_registry()will callwarnings.resetwarnings(), which reset all the warning filters:I have tried adding
catch_warningsto the context manager as you suggested, but it doesn't work, then I looked into the source code and found out it was dealing with warning filters, but since the warning filters are reset in the low level check functions, it doesn't matter addingcatch_warningsor not.And removing
ignore_warningsfor all the check functions inestimator_checks.pyindeed fixed the problem and cleared the warnings, this is working. But this isn't a fix, only a way to avoid dealing with it, could you take a look at the two methods I suggested in the previous post and tell me what kind of fix you have in mind? I would very much appreciate it.jnothman commentedon Jun 4, 2018
Yes, I see.
clear_warnings_registrydoes indeed affect filters that only display the first of duplicate warnings (i.e.simplefilter('once'). But it also, as you say, removes any filters withresetwarnings.But this only applies to the current
catch_warningsscope:jnothman commentedon Jun 4, 2018
This means that it does indeed matter whether the
ignore_warningscontext manager operates within acatch_warningscontext, because whenignore_warningsis__enter__ed, itssimplefilter('ignore', self.category)will affect non-local scope.jnothman commentedon Jun 4, 2018
I have not understood your proposals @ShangwuYao. A PR with an example would help clarify.
I think we could remove
resetwarningsfromclear_warnings_registryand move it intoignore_warningsonly (not into theassert_warnsvariants)...Another solution would be to backport
pytest.warnsfor use in estimator checks. It is fairly self-sufficient:Details
(under a compatible MIT licence: https://docs.pytest.org/en/latest/license.html)
ShangwuYao commentedon Jun 4, 2018
Thank you so much for the clarification @jnothman , I absolutely agree with what you said. Not using
catch_warningsis a bug, and we should definitely fix it. But I don't think that is the cause for the warnings not being ignored here, the real reason is, here they useignore_warningsat different layers, andignore_warningsdoesn't cover the warnings we want to ignore in the layers the warnings is actually raised. For example:tests in
test_common.pycalls checks inestimator_checks.py, and checks useignore_warningsas well as tests, in this example, the tests want to ignore DeprecationWarning, but the checks want to ignore UserWarning, so even though we usedignore_warningsintest_common.py, the DeprecationWarning is not ignored.ShangwuYao commentedon Jun 4, 2018
BTW, I think neither decorator nor context manager is working correctly for
ignore_warnings:context manager:
output:
decorator:
but I am not too sure about this, correct me if I were wrong
jnothman commentedon Jun 5, 2018
ShangwuYao commentedon Jun 5, 2018
that's true, but the non-local scope is affected, (I mean the third output is wrong, not the second). In both examples, I set a filter for
UserWarning, but after the call tocontrolled_warning*, the non-local filter got reset.(and there is another post above that, could you please take a look as well, thanks!)
lesteve commentedon Jun 5, 2018
I looked at this one a bit more in details and I am in favour of never calling
warnings.resetwarningsinignore_warnings, neither when usingignore_warningsto wrap a function nor when using it as a context manager. Here is a snippet to illustrate my point, which is similar to howsklearn/tests/test_common.pyis organized.Output:
In other words the innermost
ignore_warningswins and completely overrides all the others which I find unexpected. This is annoying because sometimes you want to ignore warnings in the test (insklearn/tests/test_common.py), sometimes in the check (insklearn/utils/estimator_checks.py) and you would like both levels to cooperate.I completely understand the need for the
__warningregistry__hack but I really do not get the need forwarnings.resetfilters. I found that numpy and scikit-image have their own way (see numpy and scikit-image approach) of cleaning__warningregistry__but do not seem to resort towarnings.resetfilters.If I comment
warnings.resetfiltersall the test pass but oneI really don't think that affecting
warning.filtersglobally is a good-side effect ofassert_warnswe should rather check that__warningregistry__has been cleaned as expected.jnothman commentedon Jun 5, 2018