summaryrefslogtreecommitdiff
path: root/testlib.py
diff options
context:
space:
mode:
Diffstat (limited to 'testlib.py')
-rw-r--r--testlib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testlib.py b/testlib.py
index af99e85..6f0f685 100644
--- a/testlib.py
+++ b/testlib.py
@@ -1323,7 +1323,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(['%s\n'%msg_prefix]+read + list(result)))
+ self.fail('\n'.join(['%s\n'%msg_prefix]+read + list(result)))
def assertTextEquals(self, text1, text2, junk=None,
msg_prefix='Text differ'):