We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac24708 commit 711e94dCopy full SHA for 711e94d
nipype/interfaces/base/tests/test_traits_extension.py
@@ -26,7 +26,7 @@ def test_rebase_path_traits():
26
27
a = rebase_path_traits(
28
spec.trait('a'), '/some/path/f1.txt', '/some/path')
29
- assert '%s' % a == 'f1.txt'
+ assert a == Path('f1.txt')
30
31
b = rebase_path_traits(
32
spec.trait('b'), ('/some/path/f1.txt', '/some/path/f2.txt'), '/some/path')
0 commit comments