diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2009-12-02 07:27:14 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2009-12-02 07:27:14 -0500 |
commit | 968fc008e4c0453ef05aa211e85e202e7b1d2342 (patch) | |
tree | 91ae38367181a9ee0dda9ed22aa832031ca4c3d7 /test/backunittest.py | |
parent | 007a4a1ba529e2913357387c1f42b6028860fe98 (diff) | |
download | python-coveragepy-git-968fc008e4c0453ef05aa211e85e202e7b1d2342.tar.gz |
Massive eol whitespace clean-up.
Diffstat (limited to 'test/backunittest.py')
-rw-r--r-- | test/backunittest.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/backunittest.py b/test/backunittest.py index 2088f2f7..28978c78 100644 --- a/test/backunittest.py +++ b/test/backunittest.py @@ -12,10 +12,10 @@ def _need(method): class TestCase(unittest.TestCase): """Just like unittest.TestCase, but with assert methods added. - + Designed to be compatible with 3.1 unittest. Methods are only defined if the builtin `unittest` doesn't have them. - + """ if _need('assertFalse'): def assertFalse(self, exp): @@ -69,16 +69,16 @@ class TestCase(unittest.TestCase): if _need('assertMultiLineEqual'): def assertMultiLineEqual(self, first, second): """Assert that two multi-line strings are equal. - + If they aren't, show a nice diff. - + """ # Adapted from Py3.1 unittest. self.assert_(isinstance(first, str), ( 'First argument is not a string')) self.assert_(isinstance(second, str), ( 'Second argument is not a string')) - + if first != second: msg = ''.join(difflib.ndiff(first.splitlines(True), second.splitlines(True))) |