summaryrefslogtreecommitdiff
path: root/tests/test_parser.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2016-03-27 13:44:49 -0400
committerNed Batchelder <ned@nedbatchelder.com>2016-03-27 13:44:49 -0400
commit3e03a20a7a95aa9b5bd9d11b643489e22682832f (patch)
treed5e1be7e12977174fdfed3e5ed78b87b81eee406 /tests/test_parser.py
parent531323862667b0764b09d33efbd803cffc4e238c (diff)
downloadpython-coveragepy-git-3e03a20a7a95aa9b5bd9d11b643489e22682832f.tar.gz
Better descriptions of missing one-line executables. Part of #475
Diffstat (limited to 'tests/test_parser.py')
-rw-r--r--tests/test_parser.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/test_parser.py b/tests/test_parser.py
index 17f81ad8..ed18ccaa 100644
--- a/tests/test_parser.py
+++ b/tests/test_parser.py
@@ -256,19 +256,19 @@ class ParserMissingArcDescriptionTest(CoverageTest):
""")
self.assertEqual(
parser.missing_arc_description(2, -2),
- "line 2 didn't run the lambda on line 2"
+ "line 2 didn't finish the lambda on line 2"
)
self.assertEqual(
parser.missing_arc_description(3, -3),
- "line 3 didn't run the generator expression on line 3"
+ "line 3 didn't finish the generator expression on line 3"
)
self.assertEqual(
parser.missing_arc_description(4, -4),
- "line 4 didn't run the dictionary comprehension on line 4"
+ "line 4 didn't finish the dictionary comprehension on line 4"
)
self.assertEqual(
parser.missing_arc_description(5, -5),
- "line 5 didn't run the set comprehension on line 5"
+ "line 5 didn't finish the set comprehension on line 5"
)
def test_missing_arc_descriptions_for_exceptions(self):
@@ -340,7 +340,7 @@ class ParserMissingArcDescriptionTest(CoverageTest):
""")
self.assertEqual(
parser.missing_arc_description(2, -3),
- "line 3 didn't run the lambda on line 3",
+ "line 3 didn't finish the lambda on line 3",
)