AntiPattern
Async Fixture Event Loop
blocking-sync-in-async-fixture
Async tests and mocks fail when awaited objects, async context managers, or blocking sync calls are mixed incorrectly inside an event loop, causing coroutines to be returned, contexts to lack enter/exit, and the loop to stall or fixtures to misbehave.