Skip to content

Commit 01953c7

Browse files
committed
More informative line_number_range tracing
1 parent 8c7d629 commit 01953c7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

django_coverage_plugin/plugin.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,9 @@ def line_number_range(self, frame):
107107
if start < 0 or end < 0:
108108
start, end = -1, -1
109109
if SHOW_TRACING:
110-
print("line_number_range -> {!r}".format((start, end)))
110+
print("line_number_range({}) -> {}".format(
111+
source[0].name, (start, end)
112+
))
111113
return start, end
112114

113115
# --- FileTracer helpers

0 commit comments

Comments
 (0)