summaryrefslogtreecommitdiff
path: root/numpy/testing/nosetester.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2015-07-05 09:38:47 -0600
committerCharles Harris <charlesr.harris@gmail.com>2015-07-05 09:59:07 -0600
commitc80c609950fe5aeecf3082d397c7b5149a834fca (patch)
tree21664c3a8ce6dff8302db62751b7c2017e37c80a /numpy/testing/nosetester.py
parentc2ae6aa0103aecdb5e2a71504583451cada1bfbc (diff)
downloadnumpy-c80c609950fe5aeecf3082d397c7b5149a834fca.tar.gz
STY: PEP8 fixes for numpy/testing numpy/testing/tests.
Diffstat (limited to 'numpy/testing/nosetester.py')
-rw-r--r--numpy/testing/nosetester.py13
1 files changed, 6 insertions, 7 deletions
diff --git a/numpy/testing/nosetester.py b/numpy/testing/nosetester.py
index b920399eb..d8c5977c6 100644
--- a/numpy/testing/nosetester.py
+++ b/numpy/testing/nosetester.py
@@ -67,10 +67,9 @@ def import_nose():
fine_nose = False
if not fine_nose:
- msg = 'Need nose >= %d.%d.%d for tests - see ' \
- 'http://somethingaboutorange.com/mrl/projects/nose' % \
- minimum_nose_version
-
+ msg = ('Need nose >= %d.%d.%d for tests - see '
+ 'http://somethingaboutorange.com/mrl/projects/nose' %
+ minimum_nose_version)
raise ImportError(msg)
return nose
@@ -293,7 +292,7 @@ class NoseTester(object):
argv += ['--exclude', ename]
# our way of doing coverage
if coverage:
- argv+=['--cover-package=%s' % self.package_name, '--with-coverage',
+ argv += ['--cover-package=%s' % self.package_name, '--with-coverage',
'--cover-tests', '--cover-erase']
# construct list of plugins
import nose.plugins.builtin
@@ -309,8 +308,8 @@ class NoseTester(object):
# use standard doctesting
if doctests and not doctest_argv:
argv += ['--with-doctest']
- else: # custom doctesting
- if doctest_argv: # in fact the unplugger would take care of this
+ else: # custom doctesting
+ if doctest_argv: # in fact the unplugger would take care of this
argv.remove('--with-doctest')
plugins += [Unplugger('doctest'), plug]
if doctests: