Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit dc17fe2

Browse files
Update test_rcparams.py
1 parent facd97a commit dc17fe2

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

lib/matplotlib/tests/test_rcparams.py

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -436,18 +436,21 @@ def test_if_rctemplate_is_up_to_date():
436436
rclines = f.readlines()
437437
missing = {}
438438
for k,v in mpl.defaultParams.items():
439-
if k[0] == "_": continue;
440-
if k in deprecated: continue;
441-
if "verbose" in k: continue;
439+
if k[0] == "_":
440+
continue
441+
if k in deprecated:
442+
continue
443+
if "verbose" in k:
444+
continue
442445
found = False
443446
for line in rclines:
444447
if k in line:
445448
found = True
446449
if not found:
447450
missing.update({k:v})
448451
if missing:
449-
raise ValueError("The following params are missing " + \
450-
"in the matplotlibrc.template file: {}" \
452+
raise ValueError("The following params are missing " +
453+
"in the matplotlibrc.template file: {}"
451454
.format(missing.items()))
452455

453456

0 commit comments

Comments
 (0)