aio-libs / pytest-aiohttp

pytest plugin for aiohttp support
Apache License 2.0
134 stars 24 forks source link

Use `pytest.hookimpl` in `pytest_configure` #49

Closed danigm closed 1 year ago

danigm commented 1 year ago

Fix https://github.com/aio-libs/pytest-aiohttp/issues/47

webknjaz commented 1 year ago

Thanks for the patch! Does this change the lowest supported pytest version?

danigm commented 1 year ago

Thanks for the patch! Does this change the lowest supported pytest version?

The hookimpl was added for version 2.8.0, so this change should work correctly with pytest 6, https://docs.pytest.org/en/stable/changelog.html#id440