diff options
author | Pierre-Yves David <pierre-yves.david@logilab.fr> | 2008-06-20 10:55:04 +0200 |
---|---|---|
committer | Pierre-Yves David <pierre-yves.david@logilab.fr> | 2008-06-20 10:55:04 +0200 |
commit | 6a06c4cd79feeeeafa1637888c85e4e83a29bbf5 (patch) | |
tree | ca6a49b225cfa217bd2766d656b877328665c839 | |
parent | 7762c3247509b8ee97d5695c23dce6759b4edbbe (diff) | |
download | logilab-common-6a06c4cd79feeeeafa1637888c85e4e83a29bbf5.tar.gz |
improve Text diff output
-rw-r--r-- | testlib.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1248,7 +1248,7 @@ class TestCase(unittest.TestCase): read.append(line) # lines that don't start with a ' ' are diff ones if not line.startswith(' '): - self.fail(''.join(read + list(result))) + self.fail(''.join(['Texts differ\n']+read + list(result))) def assertTextEquals(self, text1, text2, junk=None): """compare two multiline strings (using difflib and splitlines())""" |