Skip to content

Commit cc10331

Browse files
author
Janneke van der Zwaan
committed
Convert os.Pathlike objects to string so it also works on Python 3.5
1 parent 726b0d4 commit cc10331

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_library.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111

1212
@pytest.mark.datafiles(Path(data_dir) / 'align-dir-pack.cwl')
1313
def test_load_yaml_packed(datafiles):
14-
cwl_file = datafiles.listdir()[0]
14+
cwl_file = str(datafiles.listdir()[0])
1515

1616
assert {} == load_yaml(cwl_file)
1717

1818

1919
@pytest.mark.datafiles(Path(data_dir) / 'align-dir-pack.cwl')
2020
def test_load_steps_file_packed(datafiles):
21-
cwl_file = datafiles.listdir()[0]
21+
cwl_file = str(datafiles.listdir()[0])
2222

2323
assert {} == load_steps(step_file=cwl_file)

0 commit comments

Comments
 (0)