Skip to content

Commit

Permalink
Remove now inaccurate statement in _django_db_marker's docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
bluetech committed Nov 28, 2021
1 parent 8433d5b commit 3e03224
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions pytest_django/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -457,11 +457,7 @@ def django_db_blocker() -> "Optional[_DatabaseBlocker]":

@pytest.fixture(autouse=True)
def _django_db_marker(request) -> None:
"""Implement the django_db marker, internal to pytest-django.
This will dynamically request the ``db``, ``transactional_db`` or
``django_db_reset_sequences`` fixtures as required by the django_db marker.
"""
"""Implement the django_db marker, internal to pytest-django."""
marker = request.node.get_closest_marker("django_db")
if marker:
request.getfixturevalue("_django_db_helper")
Expand Down

0 comments on commit 3e03224

Please sign in to comment.