Skip to content

Commit dd0bf18

Browse files
committed
Update pytest_django/plugin.py
1 parent 8fd578b commit dd0bf18

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pytest_django/plugin.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,6 @@ def _get_origin() -> str | None:
686686
frameinfo = reduce(
687687
lambda x, y: y if y.function == "render" and "base.py" in y.filename else x, stack
688688
)
689-
# finding only the frame locals in all frame members
690689
# ``django.template.base.Template``
691690
template = frameinfo.frame.f_locals["self"]
692691
if isinstance(template, Template):

0 commit comments

Comments
 (0)