From 8a3cfb57751152b10e46bc510a6112706c54b163 Mon Sep 17 00:00:00 2001 From: Eugenio Lacuesta Date: Thu, 13 Jun 2024 22:43:10 -0300 Subject: [PATCH] Make black happy --- tests/conftest.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index 77646dd8..0b1eb826 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -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()