Group :: Development/Python3
RPM: python3-module-pytest-aiohttp
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: python3-module-pytest-aiohttp-1.0.4-alt.patch
Download
Download
pytest_aiohttp/plugin.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pytest_aiohttp/plugin.py b/pytest_aiohttp/plugin.py
index d4854d8..68c8ad8 100644
--- a/pytest_aiohttp/plugin.py
+++ b/pytest_aiohttp/plugin.py
@@ -18,7 +18,7 @@ LEGACY_MODE = DeprecationWarning(
)
-@pytest.mark.tryfirst
+@pytest.hookimpl(tryfirst=True)
def pytest_configure(config) -> None:
val = config.getoption("asyncio_mode")
if val is None: