diff options
-rw-r--r-- | Makefile | 1 | ||||
-rw-r--r-- | test/coveragetest.py | 2 | ||||
-rw-r--r-- | test/test_arcs.py | 5 |
3 files changed, 3 insertions, 5 deletions
@@ -29,6 +29,7 @@ LINTABLE = \ test/coverage_coverage.py \ test/coveragetest.py \ test/test_api.py \ + test/test_arcs.py \ test/test_cmdline.py \ test/test_codeunit.py \ test/test_coverage.py \ diff --git a/test/coveragetest.py b/test/coveragetest.py index e51723ec..f028431c 100644 --- a/test/coveragetest.py +++ b/test/coveragetest.py @@ -170,7 +170,7 @@ class CoverageTest(unittest.TestCase): if analysis.statements == line_list: break else: - self.fail("None of the lines choices matched %r" % clines) + self.fail("None of the lines choices matched %r" % analysis.statements) if missing is not None: if type(missing) == type(""): diff --git a/test/test_arcs.py b/test/test_arcs.py index d26f30b6..89b8921a 100644 --- a/test/test_arcs.py +++ b/test/test_arcs.py @@ -1,9 +1,6 @@ """Tests for Coverage.py's arc measurement.""" -import os, re, sys, textwrap - -import coverage -from coverage.backward import StringIO +import os, sys sys.path.insert(0, os.path.split(__file__)[0]) # Force relative import for Py3k from coveragetest import CoverageTest |