diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2014-10-26 16:08:29 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2014-10-26 16:08:29 -0400 |
commit | e9e969c5d733647b4bdaabf1f5e384bc79345326 (patch) | |
tree | d9430876aaada2e7afbb1880db76a55994b9862f /tests/test_debug.py | |
parent | 8cd2b7477b1e58cdace3ebcffc343d45a1f4b729 (diff) | |
download | python-coveragepy-e9e969c5d733647b4bdaabf1f5e384bc79345326.tar.gz |
Allow the --debug switch on any command
Diffstat (limited to 'tests/test_debug.py')
-rw-r--r-- | tests/test_debug.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/test_debug.py b/tests/test_debug.py index e8a8e95..d05316c 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): |