Skip to content

Commit 0c36551

Browse files
committed
RF: remove obsolete guard for older numpys
1 parent 7a4d5b5 commit 0c36551

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

nibabel/testing/__init__.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,7 @@
2323
skipif = dec.skipif
2424
slow = dec.slow
2525
except ImportError:
26-
from numpy.testing.decorators import skipif
27-
28-
# Recent (1.2) versions of numpy have this decorator
29-
try:
30-
from numpy.testing.decorators import slow
31-
except ImportError:
32-
def slow(t):
33-
t.slow = True
34-
return t
26+
from numpy.testing.decorators import (skipif, slow)
3527

3628
# Allow failed import of nose if not now running tests
3729
try:

0 commit comments

Comments
 (0)