Skip to content

Commit 6ff5a96

Browse files
committed
BF(TST): workaround for python 3.5
1 parent f7905ed commit 6ff5a96

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

heudiconv/tests/test_main.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ def test_populate_bids_templates(tmpdir):
8484
assert "something" not in description_file.read()
8585
assert "TODO" in description_file.read()
8686

87-
assert load_json(tmpdir / "scans.json") == SCANS_FILE_FIELDS
87+
# Explicit str() is needed for py 3.5. TODO: remove when dropping 3.5
88+
assert load_json(str(tmpdir / "scans.json")) == SCANS_FILE_FIELDS
8889

8990

9091
def test_add_participant_record(tmpdir):

0 commit comments

Comments
 (0)