Skip to content

Commit 2c1d21b

Browse files
author
Lode Rosseel
committed
Revert "Remove unblock kwarg from sync"
This reverts commit cca2dff.
1 parent 0525d62 commit 2c1d21b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytest_django/fixtures.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ def _sync_django_db_helper(
280280
"django_db_serialized_rollback" in request.fixturenames
281281
)
282282

283-
with django_db_blocker.unblock():
283+
with django_db_blocker.unblock(sync_only=not transactional):
284284
import django.db
285285
import django.test
286286

0 commit comments

Comments
 (0)