8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 155e1f7 commit 669c379Copy full SHA for 669c379
lib/matplotlib/tests/test_rcparams.py
@@ -101,8 +101,13 @@ def test_Bug_2543():
101
# This was not possible because validate_bool_maybe_none did not
102
# accept None as an argument.
103
# https://github.com/matplotlib/matplotlib/issues/2543
104
+ # We filter warnings at this stage since a number of them are raised
105
+ # for deprecated rcparams as they should. We dont want these in the
106
+ # printed in the test suite.
107
with warnings.catch_warnings():
- warnings.filterwarnings('ignore', message='.*(deprecated|obsolete)', category=UserWarning)
108
+ warnings.filterwarnings('ignore',
109
+ message='.*(deprecated|obsolete)',
110
+ category=UserWarning)
111
with mpl.rc_context():
112
_copy = mpl.rcParams.copy()
113
for key in six.iterkeys(_copy):
0 commit comments