Skip to content

Commit b6e62da

Browse files
committed
fixed up paths in test_output_template so it works on windows
1 parent d109e53 commit b6e62da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pydra/engine/tests/test_helpers_file.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ class MyCommand(ShellCommandTask):
395395
task = MyCommand(in_file=filename)
396396
assert task.cmdline == f"my {filename}"
397397
task.inputs.optional = True
398-
assert task.cmdline == f"my {filename} --opt {task.output_dir}/file.out"
398+
assert task.cmdline == f"my {filename} --opt {task.output_dir / 'file.out'}"
399399
task.inputs.optional = False
400400
assert task.cmdline == f"my {filename}"
401401
task.inputs.optional = "custom-file-out.txt"

0 commit comments

Comments
 (0)