Skip to content

Commit 4553031

Browse files
author
Mathieu Dubois
committed
TST correct fail case in test_filemanip:test_split_filename
1 parent 4bdeb79 commit 4553031

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nipype/utils/tests/test_filemanip.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ def test_split_filename():
2424
yield assert_equal, res, ('../usr/local', 'foo', '.nii')
2525
res = split_filename('/usr/local/foo.a.b.c.d')
2626
yield assert_equal, res, ('/usr/local', 'foo.a.b.c', '.d')
27-
res = split_filename('/abs/path/')
28-
yield assert_equal, res, ('/abs/path/', '', '')
27+
res = split_filename('/usr/local/')
28+
yield assert_equal, res, ('/usr/local', '', '')
2929

3030
def test_fname_presuffix():
3131
fname = 'foo.nii'

0 commit comments

Comments
 (0)