Thanks to visit codestin.com Credit goes to github.com
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 dc17fe2 commit b7b3f32Copy full SHA for b7b3f32
1 file changed
lib/matplotlib/tests/test_rcparams.py
@@ -476,10 +476,11 @@ def test_if_rctemplate_would_be_valid():
476
'testrcvalid.temp')
477
with open(fname, "w") as f:
478
f.writelines(newlines)
479
-
480
- dic = mpl.rc_params_from_file(fname,
481
- fail_on_error=True,
482
- use_default_template=False)
+ with pytest.warns(None) as record:
+ dic = mpl.rc_params_from_file(fname,
+ fail_on_error=True,
+ use_default_template=False)
483
+ assert len(record) == 0
484
os.remove(fname)
485
#d1 = set(dic.keys())
486
#d2 = set(matplotlib.defaultParams.keys())
0 commit comments