Skip to content

Commit 734add5

Browse files
committed
fix: skip async test files on Python 3.7
1 parent 069eb3e commit 734add5

File tree

2 files changed

+2
-163
lines changed

2 files changed

+2
-163
lines changed

conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ def pytest_ignore_collect(collection_path, config):
5050
if sys.version_info >= (3, 8):
5151
return None
5252

53-
# Skip test_aio.py entirely on Python 3.7
54-
if collection_path.name == "test_aio.py":
53+
# Skip test_aio.py and test_asgi.py entirely on Python 3.7
54+
if collection_path.name in ["test_aio.py", "test_asgi.py"]:
5555
return True
5656

5757
return None

tests/test_cli_gateway.py

Lines changed: 0 additions & 161 deletions
This file was deleted.

0 commit comments

Comments
 (0)