summaryrefslogtreecommitdiff
path: root/tests/test_debug.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_debug.py')
-rw-r--r--tests/test_debug.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/test_debug.py b/tests/test_debug.py
index e8a8e950..d05316c2 100644
--- a/tests/test_debug.py
+++ b/tests/test_debug.py
@@ -108,7 +108,11 @@ class DebugTraceTest(CoverageTest):
""".split()
for label in labels:
label_pat = r"^\s*%s: " % label
- self.assertEqual(len(lines_matching(out_lines, label_pat)), 1)
+ self.assertEqual(
+ len(lines_matching(out_lines, label_pat)),
+ 1,
+ msg="Incorrect lines for %r" % label,
+ )
def lines_matching(lines, pat):