diff options
Diffstat (limited to 'numpy/testing/nosetester.py')
-rw-r--r-- | numpy/testing/nosetester.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/numpy/testing/nosetester.py b/numpy/testing/nosetester.py index d07a5ad0b..e3f96b9a9 100644 --- a/numpy/testing/nosetester.py +++ b/numpy/testing/nosetester.py @@ -188,6 +188,14 @@ class NoseTester(object): label = 'not slow' argv += ['-A', label] argv += ['--verbosity', str(verbose)] + + # When installing with setuptools, and also in some other cases, the + # test_*.py files end up marked +x executable. Nose, by default, does + # not run files marked with +x as they might be scripts. However, in + # our case nose only looks for test_*.py files under the package + # directory, which should be safe. + argv += ['--exe'] + if extra_argv: argv += extra_argv return argv |