Skip to content

Commit 13b74b0

Browse files
author
Lode Rosseel
committed
Match function signatures
1 parent 3b080d0 commit 13b74b0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pytest_django/fixtures.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,10 @@ def _sync_django_db_helper(
319319
import pytest_asyncio
320320
except ImportError:
321321

322-
async def _async_django_db_helper() -> AsyncGenerator[None, None]:
322+
async def _async_django_db_helper(
323+
request: pytest.FixtureRequest, # noqa: ARG001
324+
django_db_blocker: DjangoDbBlocker, # noqa: ARG001
325+
) -> AsyncGenerator[None, None]:
323326
raise RuntimeError(
324327
"The `pytest_asyncio` plugin is required to use the `async_django_db` fixture."
325328
)

0 commit comments

Comments
 (0)