Skip to content

Commit c0b253f

Browse files
committed
"broken_complex" marker now skips only on Windows
1 parent e5c12f4 commit c0b253f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

dpctl/tests/conftest.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,10 @@ def pytest_addoption(parser):
6060
def pytest_collection_modifyitems(config, items):
6161
if config.getoption("--runcomplex"):
6262
return
63-
skip_complex = pytest.mark.skip(reason="need --runcomplex option to run")
63+
skip_complex = pytest.mark.skipif(
64+
sys.platform == "win32",
65+
reason="need --runcomplex option to run on Windows",
66+
)
6467
for item in items:
6568
if "broken_complex" in item.keywords:
6669
item.add_marker(skip_complex)

0 commit comments

Comments
 (0)