We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b080d0 commit 13b74b0Copy full SHA for 13b74b0
pytest_django/fixtures.py
@@ -319,7 +319,10 @@ def _sync_django_db_helper(
319
import pytest_asyncio
320
except ImportError:
321
322
- async def _async_django_db_helper() -> AsyncGenerator[None, None]:
+ async def _async_django_db_helper(
323
+ request: pytest.FixtureRequest, # noqa: ARG001
324
+ django_db_blocker: DjangoDbBlocker, # noqa: ARG001
325
+ ) -> AsyncGenerator[None, None]:
326
raise RuntimeError(
327
"The `pytest_asyncio` plugin is required to use the `async_django_db` fixture."
328
)
0 commit comments