Merge pull request #2034 from blink1073/fix-local-test

Fix local test function
This commit is contained in:
Juan Nunez-Iglesias
2016-04-05 01:35:39 +10:00
+1
View File
@@ -80,6 +80,7 @@ else:
def _test(doctest=False, verbose=False):
"""Run all unit tests."""
import nose
import warnings
args = ['', pkg_dir, '--exe', '--ignore-files=^_test']
if verbose:
args.extend(['-v', '-s'])