]> granicus.if.org Git - python/commitdiff
Patch #103748 from Toby Dickenson: fix typo in test_zlib that turns one
authorAndrew M. Kuchling <amk@amk.ca>
Wed, 14 Feb 2001 17:46:20 +0000 (17:46 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Wed, 14 Feb 2001 17:46:20 +0000 (17:46 +0000)
    test case into a no-op because ''.join('hello world') == 'hello world'

Lib/test/test_zlib.py

index c672ef7c666df361489d6ca5e805f4fbf41e2ea9..70da76d6c2cc0dba1e1f0098cebebb815d6f6c22 100644 (file)
@@ -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: