summaryrefslogtreecommitdiff
path: root/numpy/testing/nulltester.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/testing/nulltester.py')
-rw-r--r--numpy/testing/nulltester.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/numpy/testing/nulltester.py b/numpy/testing/nulltester.py
index 50d5484f6..8cee43495 100644
--- a/numpy/testing/nulltester.py
+++ b/numpy/testing/nulltester.py
@@ -9,7 +9,7 @@ See pkgtester, nosetester modules
class NullTester(object):
def test(self, labels=None, *args, **kwargs):
- raise ImportError, \
- 'Need nose >=0.10 for tests - see %s' % \
- 'http://somethingaboutorange.com/mrl/projects/nose'
+ raise ImportError(
+ 'Need nose >=0.10 for tests - see %s' %
+ 'http://somethingaboutorange.com/mrl/projects/nose')
bench = test