mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-09 08:15:35 +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:
+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