Skip to content

Commit

Permalink
Add a missing type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
bluetech committed Sep 2, 2024
1 parent 19605d7 commit d878d56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytest_django/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@ def _django_set_urlconf(request: pytest.FixtureRequest) -> Generator[None, None,


@pytest.fixture(autouse=True, scope="session")
def _fail_for_invalid_template_variable():
def _fail_for_invalid_template_variable() -> Generator[None, None, None]:
"""Fixture that fails for invalid variables in templates.
This fixture will fail each test that uses django template rendering
Expand Down

0 comments on commit d878d56

Please sign in to comment.