[issue11018] typo in test_bz2

Antoine Pitrou report at bugs.python.org
Wed Jan 26 14:36:59 CET 2011


New submission from Antoine Pitrou <pitrou at free.fr>:

This was found by Nadeem in issue5863.

Index: Lib/test/test_bz2.py
===================================================================
--- Lib/test/test_bz2.py	(révision 88199)
+++ Lib/test/test_bz2.py	(copie de travail)
@@ -86,7 +86,7 @@
                 if not str:
                     break
                 text += str
-            self.assertEqual(text, text)
+            self.assertEqual(text, self.TEXT)
 
     def testRead100(self):
         # "Test BZ2File.read(100)"

----------
components: Tests
messages: 127116
nosy: georg.brandl, pitrou
priority: normal
severity: normal
stage: patch review
status: open
title: typo in test_bz2
type: behavior
versions: Python 3.1, Python 3.2

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11018>
_______________________________________


More information about the Python-bugs-list mailing list