We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8fd578b commit dd0bf18Copy full SHA for dd0bf18
pytest_django/plugin.py
@@ -686,7 +686,6 @@ def _get_origin() -> str | None:
686
frameinfo = reduce(
687
lambda x, y: y if y.function == "render" and "base.py" in y.filename else x, stack
688
)
689
- # finding only the frame locals in all frame members
690
# ``django.template.base.Template``
691
template = frameinfo.frame.f_locals["self"]
692
if isinstance(template, Template):
0 commit comments