Skip to content

Commit c053e41

Browse files
committed
RF: Remove unnecessary try guard
1 parent 0c36551 commit c053e41

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

nibabel/testing/__init__.py

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,9 @@
1717

1818
import numpy as np
1919
from numpy.testing import assert_array_equal
20-
21-
try:
22-
from numpy.testing import dec
23-
skipif = dec.skipif
24-
slow = dec.slow
25-
except ImportError:
26-
from numpy.testing.decorators import (skipif, slow)
20+
from numpy.testing import dec
21+
skipif = dec.skipif
22+
slow = dec.slow
2723

2824
# Allow failed import of nose if not now running tests
2925
try:

0 commit comments

Comments
 (0)