Skip to content

Commit c51d040

Browse files
author
FNTwin
committed
windows fix
1 parent 1dc4b51 commit c51d040

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_download.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
from os.path import join as p_join
12
from pathlib import Path
23

34
import pytest
@@ -10,5 +11,5 @@ def test_API_download(tmp_path, monkeypatch):
1011
monkeypatch.chdir(tmp_path)
1112
ds = QM7(cache_dir=tmp_path)
1213
for filename in ["energies.mmap", "position_idx_range.mmap", "atomic_inputs.mmap", "props.pkl"]:
13-
assert (Path(tmp_path) / ds.preprocess_path / filename).exists()
14+
assert (Path(p_join(tmp_path, ds.preprocess_path, filename))).exists()
1415
monkeypatch.undo()

0 commit comments

Comments
 (0)