Skip to content

Commit 86449b1

Browse files
oestebaneffigies
andauthored
Update nipype/interfaces/base/tests/test_traits_extension.py
Co-Authored-By: Chris Markiewicz <effigies@gmail.com>
1 parent 4544b34 commit 86449b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/interfaces/base/tests/test_traits_extension.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def test_rebase_path_traits():
2626

2727
a = rebase_path_traits(
2828
spec.trait('a'), '/some/path/f1.txt', '/some/path')
29-
assert '%s' % a == 'f1.txt'
29+
assert a == Path('f1.txt')
3030

3131
b = rebase_path_traits(
3232
spec.trait('b'), ('/some/path/f1.txt', '/some/path/f2.txt'), '/some/path')

0 commit comments

Comments
 (0)