summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2009-04-19 16:24:10 -0400
committerNed Batchelder <ned@nedbatchelder.com>2009-04-19 16:24:10 -0400
commit28d93fedc34059dfc09db9912841ae7b13f508a9 (patch)
tree549df5dccf849ad3d161e9d9af04bf941d7bfa10 /test
parent4d45dc8c234eee1b4bd6da9eac409d588eba9455 (diff)
downloadpython-coveragepy-git-28d93fedc34059dfc09db9912841ae7b13f508a9.tar.gz
Line length < 80.
Diffstat (limited to 'test')
-rw-r--r--test/coveragetest.py7
-rw-r--r--test/test_execfile.py3
2 files changed, 7 insertions, 3 deletions
diff --git a/test/coveragetest.py b/test/coveragetest.py
index c96e32ca..e76a9910 100644
--- a/test/coveragetest.py
+++ b/test/coveragetest.py
@@ -14,7 +14,9 @@ import coverage
class Tee(object):
- """A file-like that writes to all the file-likes it was constructed with."""
+ """A file-like that writes to all the file-likes it was constructed with.
+
+ """
def __init__(self, *files):
self.files = files
@@ -178,7 +180,8 @@ class CoverageTest(unittest.TestCase):
else:
excName = str(excClass)
raise self.failureException(
- "Expected to raise %s, didn't get an exception at all" % excName
+ "Expected to raise %s, didn't get an exception at all" %
+ excName
)
def nice_file(self, *fparts):
diff --git a/test/test_execfile.py b/test/test_execfile.py
index 85000495..d46732d2 100644
--- a/test/test_execfile.py
+++ b/test/test_execfile.py
@@ -24,7 +24,8 @@ class RunTest(CoverageTest):
self.assertEqual(dunder_file, "try_execfile")
# It should have its correct module data.
- self.assertEqual(mod_globs['__doc__'], "Test file for run_python_file.")
+ self.assertEqual(mod_globs['__doc__'],
+ "Test file for run_python_file.")
self.assertEqual(mod_globs['DATA'], "xyzzy")
self.assertEqual(mod_globs['FN_VAL'], "my_fn('fooey')")