Fix skipif expression

This commit is contained in:
Darren Burns
2022-05-04 10:48:27 +01:00
parent 5e220b9468
commit b973234433

View File

@@ -9,5 +9,5 @@ import pytest
# teardown code has finished running. These are very rare, but are much more of an issue on
# CI since they can delay builds that have passed locally.
pytestmark = pytest.mark.skipif(
sys.platform == "darwin" and os.getenv("CI"), reason="Issue #411"
sys.platform == "darwin" and os.getenv("CI", "0") != "0", reason="Issue #411"
)