Merge pull request #461 from Textualize/devtools-macos-ci-skip

Skip CI-based MacOS devtools tests
This commit is contained in:
Will McGugan
2022-05-04 11:31:00 +01:00
committed by GitHub

View File

@@ -0,0 +1,13 @@
import os
import sys
import pytest
# TODO - this needs to be revisited - perhaps when aiohttp 4.0 is released?
# We get occasional test failures relating to devtools. These *appear* to be limited to MacOS,
# and the error messages suggest the event loop is being shutdown before async fixture
# 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", "0") != "0", reason="Issue #411"
)