Skip to content

Commit

Permalink
Make black happy
Browse files Browse the repository at this point in the history
  • Loading branch information
elacuesta committed Jun 14, 2024
1 parent 53ff9ee commit 8a3cfb5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@ def pytest_configure(config):
# https://twistedmatrix.com/trac/ticket/9766
# https://github.com/pytest-dev/pytest-twisted/issues/80

if (
config.getoption("reactor", "default") == "asyncio"
and platform.system() == "Windows"
):
if config.getoption("reactor", "default") == "asyncio" and platform.system() == "Windows":
import asyncio

selector_policy = asyncio.WindowsSelectorEventLoopPolicy()
Expand Down

0 comments on commit 8a3cfb5

Please sign in to comment.