We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2173b53 commit af7fea1Copy full SHA for af7fea1
dpctl/tests/conftest.py
@@ -53,14 +53,17 @@ def pytest_addoption(parser):
53
"--runcomplex",
54
action="store_true",
55
default=False,
56
- help="run broken complex tests",
+ help="run broken complex tests on Windows",
57
)
58
59
60
def pytest_collection_modifyitems(config, items):
61
if config.getoption("--runcomplex"):
62
return
63
- skip_complex = pytest.mark.skip(reason="need --runcomplex option to run")
+ skip_complex = pytest.mark.skipif(
64
+ os.name == "nt",
65
+ reason="need --runcomplex option to run on Windows",
66
+ )
67
for item in items:
68
if "broken_complex" in item.keywords:
69
item.add_marker(skip_complex)
0 commit comments