Skip to content

Commit 4bdeb79

Browse files
author
Mathieu Dubois
committed
TST: add fail case in test_filemanip:test_split_filename
1 parent 6cf32b0 commit 4bdeb79

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

nipype/utils/tests/test_filemanip.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +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/', '', '')
2729

2830
def test_fname_presuffix():
2931
fname = 'foo.nii'

0 commit comments

Comments
 (0)