Skip to content

Commit 40eee22

Browse files
committed
TMP
1 parent a77f06b commit 40eee22

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

datalad_next/patches/tests/test_run.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ def test_runrecord_portable_paths(existing_dataset):
4444
'from shutil import copyfile;'
4545
'from pathlib import Path;'
4646
r"""[copyfile(f.strip('\"'), Path.cwd() / \"outputs\" / Path(f.strip('\"')).name)"""
47-
r""" for f in '{inputs}'.split()]"""
47+
# we need to use a raw string to contain the inputs expansion,
48+
# on windows they would contain backslashes that are unescaped
49+
r""" for f in r'{inputs}'.split()]"""
4850
'"',
4951
result_renderer='disabled',
5052
# we need to pass relative paths ourselves

0 commit comments

Comments
 (0)