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
parent 88d1b85bcf
commit bc745e833a
+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'])