diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2009-10-17 17:25:14 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2009-10-17 17:25:14 -0400 |
commit | 352324b4df27881776ceeb9584574081691a477e (patch) | |
tree | 7bd931b8404e74312430d66e87fe9395cacafb7c | |
parent | 646119c714d1f00db7a48f6088a6f2df8dfd32b8 (diff) | |
download | python-coveragepy-git-352324b4df27881776ceeb9584574081691a477e.tar.gz |
Keep lines under 80 chars.
-rw-r--r-- | test/coveragetest.py | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/test/coveragetest.py b/test/coveragetest.py index f028431c..635b05b2 100644 --- a/test/coveragetest.py +++ b/test/coveragetest.py @@ -105,7 +105,9 @@ class CoverageTest(unittest.TestCase): # Map chars to numbers for arcz_to_arcs _arcz_map = {'.': -1} _arcz_map.update(dict([(c, ord(c)-ord('0')) for c in '123456789'])) - _arcz_map.update(dict([(c, 10+ord(c)-ord('A')) for c in 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'])) + _arcz_map.update(dict( + [(c, 10+ord(c)-ord('A')) for c in 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'] + )) def arcz_to_arcs(self, arcz): """Convert a compact textual representation of arcs to a list of pairs. @@ -170,7 +172,9 @@ class CoverageTest(unittest.TestCase): if analysis.statements == line_list: break else: - self.fail("None of the lines choices matched %r" % analysis.statements) + self.fail("None of the lines choices matched %r" % + analysis.statements + ) if missing is not None: if type(missing) == type(""): @@ -180,8 +184,8 @@ class CoverageTest(unittest.TestCase): if analysis.missing == 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" % + analysis.missing_formatted() ) if arcs is not None: |