Skip to content

Commit 3e03224

Browse files
committed
Remove now inaccurate statement in _django_db_marker's docstring
1 parent 8433d5b commit 3e03224

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

pytest_django/plugin.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -457,11 +457,7 @@ def django_db_blocker() -> "Optional[_DatabaseBlocker]":
457457

458458
@pytest.fixture(autouse=True)
459459
def _django_db_marker(request) -> None:
460-
"""Implement the django_db marker, internal to pytest-django.
461-
462-
This will dynamically request the ``db``, ``transactional_db`` or
463-
``django_db_reset_sequences`` fixtures as required by the django_db marker.
464-
"""
460+
"""Implement the django_db marker, internal to pytest-django."""
465461
marker = request.node.get_closest_marker("django_db")
466462
if marker:
467463
request.getfixturevalue("_django_db_helper")

0 commit comments

Comments
 (0)