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 facd97a commit dc17fe2Copy full SHA for dc17fe2
1 file changed
lib/matplotlib/tests/test_rcparams.py
@@ -436,18 +436,21 @@ def test_if_rctemplate_is_up_to_date():
436
rclines = f.readlines()
437
missing = {}
438
for k,v in mpl.defaultParams.items():
439
- if k[0] == "_": continue;
440
- if k in deprecated: continue;
441
- if "verbose" in k: continue;
+ if k[0] == "_":
+ continue
+ if k in deprecated:
442
443
+ if "verbose" in k:
444
445
found = False
446
for line in rclines:
447
if k in line:
448
found = True
449
if not found:
450
missing.update({k:v})
451
if missing:
- raise ValueError("The following params are missing " + \
- "in the matplotlibrc.template file: {}" \
452
+ raise ValueError("The following params are missing " +
453
+ "in the matplotlibrc.template file: {}"
454
.format(missing.items()))
455
456
0 commit comments