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:
Tony S Yu
2012-10-07 15:07:11 -04:00
committed by Stefan van der Walt
parent 96d90438d8
commit 2a672cf00d
+1 -1
View File
@@ -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'])