From 20033c71012732c181b3997e454f42edc46d44fd Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Mon, 15 Feb 2016 12:30:31 -0500 Subject: Pick off some lint --- tests/test_html.py | 14 ++++++++++---- tests/test_parser.py | 3 ++- 2 files changed, 12 insertions(+), 5 deletions(-) (limited to 'tests') diff --git a/tests/test_html.py b/tests/test_html.py index 67c6d9b6..e67e4f5b 100644 --- a/tests/test_html.py +++ b/tests/test_html.py @@ -525,12 +525,18 @@ class HtmlGoldTests(CoverageGoldTest): '3'), '70%', ('8 ↛ 11' - 'line 8 didn\'t jump to line 11, because the condition on line 8 was never false'), + 'line 8 didn\'t jump to line 11, ' + 'because the condition on line 8 was never false'), ('17 ↛ exit' - 'line 17 didn\'t return from function \'two\', because the condition on line 17 was never false'), + 'line 17 didn\'t return from function \'two\', ' + 'because the condition on line 17 was never false'), ('25 ↛ 26,   ' - '25 ↛ 28' - '2 missed branches: 1) line 25 didn\'t jump to line 26, because the condition on line 25 was never true, 2) line 25 didn\'t jump to line 28, because the condition on line 25 was never false'), + '25 ↛ 28' + '2 missed branches: ' + '1) line 25 didn\'t jump to line 26, ' + 'because the condition on line 25 was never true, ' + '2) line 25 didn\'t jump to line 28, ' + 'because the condition on line 25 was never false'), ) contains( "out/b_branch/index.html", diff --git a/tests/test_parser.py b/tests/test_parser.py index 1be5e16c..0ede10b4 100644 --- a/tests/test_parser.py +++ b/tests/test_parser.py @@ -224,7 +224,8 @@ class ParserMissingArcDescriptionTest(CoverageTest): ) self.assertEqual( parser.missing_arc_description(6, -5), - "line 6 didn't return from function 'func5', because the loop on line 6 didn't complete" + "line 6 didn't return from function 'func5', " + "because the loop on line 6 didn't complete" ) self.assertEqual( parser.missing_arc_description(6, 7), -- cgit v1.2.1