Skip CI-based MacOS devtools tests

This commit is contained in:
Darren Burns
2022-05-04 10:21:31 +01:00
parent 6fba64face
commit 74540d0f6c
2 changed files with 15 additions and 0 deletions

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"), reason="Issue #411"
)

View File

@@ -1,3 +1,5 @@
import os
import sys
from datetime import datetime, timezone
import pytest