summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_bz2.py
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2011-01-26 23:31:25 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2011-01-26 23:31:25 (GMT)
commit812a3a116206e1b567379433605af42c664753a8 (patch)
treeeb59e58d8216e377244e4ecbcbfda45637dff50f /Lib/test/test_bz2.py
parent32074e337e0bf39298b8f7a5fb609dfbcabc8a3b (diff)
downloadcpython-812a3a116206e1b567379433605af42c664753a8.zip
cpython-812a3a116206e1b567379433605af42c664753a8.tar.gz
cpython-812a3a116206e1b567379433605af42c664753a8.tar.bz2
Merged revisions 88204 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r88204 | antoine.pitrou | 2011-01-27 00:29:28 +0100 (jeu., 27 janv. 2011) | 4 lines Issue #11018: fix a test to not be a no-op in test_bz2. Found by Nadeem Vawda, reviewed by Brett. ........
Diffstat (limited to 'Lib/test/test_bz2.py')
-rw-r--r--Lib/test/test_bz2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_bz2.py b/Lib/test/test_bz2.py
index 4cb6bf1..d9ccf0a 100644
--- a/Lib/test/test_bz2.py
+++ b/Lib/test/test_bz2.py
@@ -85,7 +85,7 @@ class BZ2FileTest(BaseTest):
if not str:
break
text += str
- self.assertEqual(text, text)
+ self.assertEqual(text, self.TEXT)
def testRead100(self):
# "Test BZ2File.read(100)"