Skip to content

Commit 2768e7a

Browse files
authored
BF(py3.5): explicitly case path to str for open
1 parent 0fb0c2f commit 2768e7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

heudiconv/tests/test_main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ def test_cache(tmpdir):
284284
assert (cachedir / 'S01.edit.txt').exists()
285285

286286
# check dicominfo has "time" as last column:
287-
with open(cachedir / 'dicominfo.tsv', 'r') as f:
287+
with open(str(cachedir / 'dicominfo.tsv'), 'r') as f:
288288
cols = f.readline().split()
289289
assert cols[26] == "time"
290290

0 commit comments

Comments
 (0)