Skip to content

Commit 18583d3

Browse files
committed
skip test on mac which gets stuck on python3.12+
1 parent bc88d00 commit 18583d3

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/test_dataset_comp6.py

+7
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,18 @@
66
from tempfile import TemporaryDirectory
77
from torch_geometric.loader import DataLoader
88
from torchmdnet.datasets import S66X8
9+
import platform
10+
import pytest
911

1012

1113
# Test smallet dataset from COMP6
1214
def test_dataset_s66x8():
1315

16+
if platform.system() == "Darwin":
17+
pytest.skip(
18+
"Skip test on MacOS. pytest gets stuck on the cleanup on python >=3.12"
19+
)
20+
1421
with TemporaryDirectory() as root:
1522
data_set = S66X8(root)
1623

0 commit comments

Comments
 (0)