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 a77f06b commit 40eee22Copy full SHA for 40eee22
datalad_next/patches/tests/test_run.py
@@ -44,7 +44,9 @@ def test_runrecord_portable_paths(existing_dataset):
44
'from shutil import copyfile;'
45
'from pathlib import Path;'
46
r"""[copyfile(f.strip('\"'), Path.cwd() / \"outputs\" / Path(f.strip('\"')).name)"""
47
- r""" for f in '{inputs}'.split()]"""
+ # 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()]"""
50
'"',
51
result_renderer='disabled',
52
# we need to pass relative paths ourselves
0 commit comments