We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 53ff9ee commit 8a3cfb5Copy full SHA for 8a3cfb5
tests/conftest.py
@@ -8,10 +8,7 @@ def pytest_configure(config):
8
# https://twistedmatrix.com/trac/ticket/9766
9
# https://github.com/pytest-dev/pytest-twisted/issues/80
10
11
- if (
12
- config.getoption("reactor", "default") == "asyncio"
13
- and platform.system() == "Windows"
14
- ):
+ if config.getoption("reactor", "default") == "asyncio" and platform.system() == "Windows":
15
import asyncio
16
17
selector_policy = asyncio.WindowsSelectorEventLoopPolicy()
0 commit comments