Skip to content

Commit 0044829

Browse files
committed
Remove another default_test_modules modification.
1 parent c2d301b commit 0044829

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

tests.py

+1-5
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515

1616
if __name__ == '__main__':
17-
from matplotlib import default_test_modules, test
17+
from matplotlib import test
1818

1919
parser = argparse.ArgumentParser(add_help=False)
2020
parser.add_argument('--no-pep8', action='store_true',
@@ -27,10 +27,6 @@
2727
help='Shortcut for specifying number of test processes')
2828
args, extra_args = parser.parse_known_args()
2929

30-
if args.no_pep8:
31-
default_test_modules.remove('matplotlib.tests.test_coding_standards')
32-
elif args.pep8:
33-
default_test_modules[:] = ['matplotlib.tests.test_coding_standards']
3430
if args.no_network:
3531
from matplotlib.testing import disable_internet
3632
disable_internet.turn_off_internet()

0 commit comments

Comments
 (0)