-
Notifications
You must be signed in to change notification settings - Fork 122
Open
Labels
Milestone
Description
Problem
The test suite uses a custom event_loop fixture pattern that is deprecated in pytest-asyncio:
DeprecationWarning: The event_loop fixture provided by pytest-asyncio has been redefined in
/tests/conftest.py:20
Replacing the event_loop fixture with a custom implementation is deprecated
and will lead to errors in the future.
Current Status
- Low priority - tests work correctly despite the warning
- Previous attempts to fix this broke Redis async connection handling
- May need addressing when upgrading pytest-asyncio versions
Related
- pytest warnings: pytest-asyncio deprecation and pydantic field shadowing #707 (original issue with analysis)
Notes
This is documented as a known issue. The fix requires careful refactoring of the async test architecture to avoid breaking Redis connection handling.