summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2001-02-14 17:46:20 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2001-02-14 17:46:20 (GMT)
commit8e6d44eedc26cf9869d5a41e743ddf6b4df1aa55 (patch)
tree40169fb1f806d236ea1e25740ac25a382d05c3ca /Lib
parented24cd2cf7450bc587c13bdca1bd0bee2c677ab0 (diff)
downloadcpython-8e6d44eedc26cf9869d5a41e743ddf6b4df1aa55.zip
cpython-8e6d44eedc26cf9869d5a41e743ddf6b4df1aa55.tar.gz
cpython-8e6d44eedc26cf9869d5a41e743ddf6b4df1aa55.tar.bz2
Patch #103748 from Toby Dickenson: fix typo in test_zlib that turns one
test case into a no-op because ''.join('hello world') == 'hello world'
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_zlib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_zlib.py b/Lib/test/test_zlib.py
index c672ef7..70da76d 100644
--- a/Lib/test/test_zlib.py
+++ b/Lib/test/test_zlib.py
@@ -69,7 +69,7 @@ bufs = []
for i in range(0, len(combuf), 128):
bufs.append(deco.decompress(combuf[i:i+128]))
bufs.append(deco.flush())
-decomp2 = ''.join(buf)
+decomp2 = ''.join(bufs)
if decomp2 != buf:
print "decompressobj with init options failed"
else: