diff options
Diffstat (limited to 'numpy/testing/nosetester.py')
-rw-r--r-- | numpy/testing/nosetester.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/testing/nosetester.py b/numpy/testing/nosetester.py index 5ead74980..26118eda2 100644 --- a/numpy/testing/nosetester.py +++ b/numpy/testing/nosetester.py @@ -174,7 +174,7 @@ class NoseTester(object): argv = [__file__, self.package_path, '-s'] if label and label != 'full': if not isinstance(label, basestring): - raise TypeError, 'Selection label should be a string' + raise TypeError('Selection label should be a string') if label == 'fast': label = 'not slow' argv += ['-A', label] |