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

Skip to content

Commit a79053c

Browse files
committed
fix pep8 unit tests
1 parent 2cb5403 commit a79053c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

lib/matplotlib/tests/test_coding_standards.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,11 +273,16 @@ def test_pep8_conformance_examples():
273273

274274
exdir = os.path.join(mpldir, 'examples')
275275
blacklist = ()
276+
expected_bad_files = ['*/pylab_examples/table_demo.py',
277+
'*/pylab_examples/tricontour_demo.py',
278+
'*/pylab_examples/tripcolor_demo.py',
279+
'*/pylab_examples/triplot_demo.py',
280+
'*/shapes_and_collections/artist_reference.py']
276281
assert_pep8_conformance(dirname=exdir,
277282
extra_exclude_directories=blacklist,
278283
pep8_additional_ignore=PEP8_ADDITIONAL_IGNORE +
279284
['E116', 'E501'],
280-
expected_bad_files=())
285+
expected_bad_files=expected_bad_files)
281286

282287

283288
if __name__ == '__main__':

0 commit comments

Comments
 (0)