Skip to content

Commit 7123677

Browse files
committed
Little alignment.
1 parent 4c0f987 commit 7123677

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_hook_module.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
pytest.param(
1919
True,
2020
marks=pytest.mark.xfail(
21-
sys.platform == "win32" and "CI" in os.environ,
21+
sys.platform == "win32" and os.environ.get("CI") == "true",
2222
reason="pytask is not found in subprocess",
2323
strict=True,
2424
),
@@ -64,7 +64,7 @@ def pytask_extend_command_line_interface(cli):
6464
pytest.param(
6565
True,
6666
marks=pytest.mark.xfail(
67-
sys.platform == "win32" and "CI" in os.environ,
67+
sys.platform == "win32" and os.environ.get("CI") == "true",
6868
reason="pytask is not found in subprocess",
6969
strict=True,
7070
),

0 commit comments

Comments
 (0)