summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2014-05-17 21:17:46 -0400
committerNed Batchelder <ned@nedbatchelder.com>2014-05-17 21:17:46 -0400
commit3e6424948dc4185bf22bb6dcfd2c326cb88d1e97 (patch)
tree9ef4c7483943302df57e11b4418a8a1666fcd785
parent45357647d824817d8d55bfcf59defaec39240858 (diff)
downloadpython-coveragepy-git-3e6424948dc4185bf22bb6dcfd2c326cb88d1e97.tar.gz
Minor minor
-rw-r--r--tests/coveragetest.py14
1 files changed, 8 insertions, 6 deletions
diff --git a/tests/coveragetest.py b/tests/coveragetest.py
index 858e73fa..aa851954 100644
--- a/tests/coveragetest.py
+++ b/tests/coveragetest.py
@@ -355,19 +355,21 @@ class CoverageTest(TestCase):
if statements == line_list:
break
else:
- self.fail("None of the lines choices matched %r" %
- statements
+ self.fail(
+ "None of the lines choices matched %r" % statements
)
+ missing_formatted = analysis.missing_formatted()
if type(missing) == type(""):
- self.assertEqual(analysis.missing_formatted(), missing)
+ self.assertEqual(missing_formatted, missing)
else:
for missing_list in missing:
- if analysis.missing_formatted() == missing_list:
+ if missing_formatted == missing_list:
break
else:
- self.fail("None of the missing choices matched %r" %
- analysis.missing_formatted()
+ self.fail(
+ "None of the missing choices matched %r" %
+ missing_formatted
)
if arcs is not None: