Package: pytest-aiohttp / 1.1.0-3

Metadata

Package Version Patches format
pytest-aiohttp 1.1.0-3 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
pytest 8.4.0.patch | (download)

pytest.ini | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 tests: add pytest.ini to set asyncio_default_fixture_loop_scope

Recent versions of pytest-asyncio and pytest introduced
stricter handling of asynchronous fixtures. If the
'asyncio_default_fixture_loop_scope' option is unset, async fixtures may
emit DeprecationWarnings during pytest configuration. This can break tests
using pytester by preventing pytest from generating a terminal summary.

This prevents the warning and ensures consistent and stable test execution
for async tests.

Signed-off-by: Maxim Tulskiy <tulskijms@altlinux.org>