summaryrefslogtreecommitdiff
path: root/numpy/testing/nulltester.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2011-04-05 17:10:31 -0600
committerCharles Harris <charlesr.harris@gmail.com>2011-04-05 17:38:00 -0600
commitfd2630366581049af6c9acc4b41315363b47b55a (patch)
tree8e17cdee3bfb7c9f1c30d793d1ce0267f1016e22 /numpy/testing/nulltester.py
parentb2793ea74ea05bc64288287dd2efbe0dcae99534 (diff)
downloadnumpy-fd2630366581049af6c9acc4b41315363b47b55a.tar.gz
STY: Fix up some remaining old-style exceptions.
I think that is the end of it.
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