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.
—with-coverage
1 parent 76be64a commit 7f29efeCopy full SHA for 7f29efe
1 file changed
tests.py
@@ -16,8 +16,6 @@
16
if __name__ == '__main__':
17
from matplotlib import default_test_modules, test
18
19
- extra_args = []
20
-
21
parser = argparse.ArgumentParser(add_help=False)
22
parser.add_argument('--no-pep8', action='store_true',
23
help='Run all tests except PEP8 testing')
@@ -27,7 +25,7 @@
27
25
help='Run tests without network connection')
28
26
parser.add_argument('-j', type=int,
29
help='Shortcut for specifying number of test processes')
30
- args = parser.parse_args()
+ args, extra_args = parser.parse_known_args()
31
32
if args.no_pep8:
33
default_test_modules.remove('matplotlib.tests.test_coding_standards')
0 commit comments