Pytest Asyncio 1 4 0

Test async/await code with pytest using event loops, async fixtures, and loop scopes. Use when writing async tests, configuring asyncio mode (auto/strict), managing event loop scopes, using @pytest.mark.asyncio, @pytest_asyncio.fixture, custom loop factories via pytest_asyncio_loop_factories hook, port fixtures (unused_tcp_port, unused_udp_port), testing with uvloop or other custom event loops, integrating Hypothesis with async tests, or migrating from older pytest-asyncio versions. Covers pytest-asyncio 1.4.0+ and Python 3.10+.

tangledgroup 79e6215 9 files · 48.6 KB Updated

File contents

tangledgroup/tangled-skills/tree/main/.agents/skills-python/pytest-asyncio-1-4-0 commit 79e6215065

Frequently asked questions

npx skillmds@latest add tangledgroup/pytest-asyncio-1-4-0