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

Skip to content

Commit f1dfcc0

Browse files
committed
TST fix test_rcparams
1 parent 9ee23d0 commit f1dfcc0

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
@@ -455,7 +455,6 @@ def test_if_rctemplate_is_up_to_date():
455455
dep1 = mpl._all_deprecated
456456
dep2 = mpl._deprecated_set
457457
deprecated = list(dep1.union(dep2))
458-
#print(deprecated)
459458
path_to_rc = mpl.matplotlib_fname()
460459
with open(path_to_rc, "r") as f:
461460
rclines = f.readlines()
@@ -501,11 +500,7 @@ def test_if_rctemplate_would_be_valid(tmpdir):
501500
with open(fname, "w") as f:
502501
f.writelines(newlines)
503502
with pytest.warns(None) as record:
504-
print(fname)
505503
dic = mpl.rc_params_from_file(fname,
506504
fail_on_error=True,
507505
use_default_template=False)
508506
assert len(record) == 0
509-
#d1 = set(dic.keys())
510-
#d2 = set(matplotlib.defaultParams.keys())
511-
#print(d2-d1)

0 commit comments

Comments
 (0)
0