Skip to content

Commit d878d56

Browse files
committed
Add a missing type annotation
1 parent 19605d7 commit d878d56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytest_django/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@ def _django_set_urlconf(request: pytest.FixtureRequest) -> Generator[None, None,
640640

641641

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

0 commit comments

Comments
 (0)