Skip to content

Commit b8129f8

Browse files
committed
fix error in test_io
1 parent d32422a commit b8129f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nipype/interfaces/tests/test_io.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@
3535

3636
# Check for fakes3
3737
standard_library.install_aliases()
38-
from subprocess import check_call
38+
from subprocess import check_call, CalledProcessError
3939
try:
4040
ret_code = check_call(['which', 'fakes3'], stdout=open(os.devnull, 'wb'))
4141
fakes3 = (ret_code == 0)
42-
except subprocess.CalledProcessError:
42+
except CalledProcessError:
4343
fakes3 = False
4444

4545
def test_datagrabber():

0 commit comments

Comments
 (0)