Skip to content

Commit 60fcd9c

Browse files
authored
Fix conftest on non linux machines (#238)
1 parent 1776869 commit 60fcd9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,6 @@ def pytest_collection_modifyitems(config, items: List[pytest.Item]):
111111

112112
for item in items:
113113
if "oiejq" in item.keywords:
114-
if sys.platform != "linux" or config.getoption("--time-tool") == ["time"] or \
114+
if not util.is_linux() or config.getoption("--time-tool") == ["time"] or \
115115
config.getoption("--github-runner"):
116116
item.add_marker(pytest.mark.skip(reason="oiejq required"))

0 commit comments

Comments
 (0)