summaryrefslogtreecommitdiff
path: root/tests/test_debug.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2014-10-26 16:08:29 -0400
committerNed Batchelder <ned@nedbatchelder.com>2014-10-26 16:08:29 -0400
commit48e5456376c0937b47df99862f2c4ab29fea599c (patch)
tree82d76ba1850e073a4b0437b5ced53e12095878ff /tests/test_debug.py
parent9b8e67fe48ca5d9d1d6e1a7f03eac625388cc7c7 (diff)
downloadpython-coveragepy-git-48e5456376c0937b47df99862f2c4ab29fea599c.tar.gz
Allow the --debug switch on any command
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):