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 | 6a8ba5c7e8c25e0e70b611151c91f97e395fd605 (patch) | |
tree | 4a93dad682f31acb079809f0d952c0230bbae885 /test | |
parent | 07effbb4878d662b6f9753dc89e7abbb2d8ab61f (diff) | |
download | python-coveragepy-6a8ba5c7e8c25e0e70b611151c91f97e395fd605.tar.gz |
Keep lines under 80 chars.
Diffstat (limited to 'test')
-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 f028431..635b05b 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: |