We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a4d5b5 commit 0c36551Copy full SHA for 0c36551
nibabel/testing/__init__.py
@@ -23,15 +23,7 @@
23
skipif = dec.skipif
24
slow = dec.slow
25
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
+ from numpy.testing.decorators import (skipif, slow)
35
36
# Allow failed import of nose if not now running tests
37
try:
0 commit comments