mirror of
https://github.com/wassname/scikit-image.git
synced 2026-06-30 12:55:46 +08:00
BUG: Pass package directory as positional argument to nose.run
When the package directory is passed to nosetest via the "where" argument (-w), that directory becomes the working directory. This causes problems because `skimage.io` will take precedence over the builtin `io` package.
This commit is contained in:
committed by
Stefan van der Walt
parent
96d90438d8
commit
2a672cf00d
+1
-1
@@ -65,7 +65,7 @@ except ImportError:
|
||||
def _setup_test(verbose=False):
|
||||
import functools
|
||||
|
||||
args = ['', '--exe', '-w', pkg_dir]
|
||||
args = ['', pkg_dir, '--exe']
|
||||
if verbose:
|
||||
args.extend(['-v', '-s'])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user