8000 TST fix test_rcparams · matplotlib/matplotlib@0a1bece · GitHub
[go: up one dir, main page]

Skip to content

Commit 0a1bece

Browse files
committed
TST fix test_rcparams
1 parent 4ca96a4 commit 0a1bece

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lib/matplotlib/tests/test_rcparams.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,6 @@ def test_if_rctemplate_is_up_to_date():
425425
dep1 = mpl._all_deprecated
426426
dep2 = mpl._deprecated_set
427427
deprecated = list(dep1.union(dep2))
428-
#print(deprecated)
429428
path_to_rc = mpl.matplotlib_fname()
430429
with open(path_to_rc, "r") as f:
431430
rclines = f.readlines()
@@ -471,11 +470,7 @@ def test_if_rctemplate_would_be_valid(tmpdir):
471470
with open(fname, "w") as f:
472471
f.writelines(newlines)
473472
with pytest.warns(None) as record:
474-
print(fname)
475473
dic = mpl.rc_params_from_file(fname,
476474
fail_on_error=True,
477475
use_default_template=False)
478476
assert len(record) == 0
479-
#d1 = set(dic.keys())
480-
#d2 = set(matplotlib.defaultParams.keys())
481-
#print(d2-d1)

0 commit comments

Comments
 (0)
0