Skip to content

Commit 0ca9092

Browse files
committed
Use Python2 compatible syntax
1 parent c40da1c commit 0ca9092

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_misc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def test_save_script_parameters(tmpdir, mocker):
9797
script_module = ScriptModule(["AAA", "BBB"], {"AAA": "aaa", "BBB": "bbb"})
9898
script_globals = {"org.scijava.script.ScriptModule": script_module}
9999
save_script_parameters(script_globals, destination=base)
100-
with open(base / "script_parameters.txt", "r") as f:
100+
with open(str(base) + "/script_parameters.txt", "r") as f:
101101
contents = f.read()
102102
assert contents == "AAA: aaa\nBBB: bbb\n"
103103

0 commit comments

Comments
 (0)