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

Skip to content

Commit b96b00f

Browse files
committed
TST: tweak how to pass args to nose
closes #6539
1 parent 972266d commit b96b00f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def run(extra_args):
6666
if '--no-network' in sys.argv:
6767
from matplotlib.testing import disable_internet
6868
disable_internet.turn_off_internet()
69-
extra_args.extend(['--eval-attr="not network"'])
69+
extra_args.extend(['-a', '!network'])
7070
sys.argv.remove('--no-network')
7171

7272
run(extra_args)

0 commit comments

Comments
 (0)