mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
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'
This commit is contained in:
parent
ed24cd2cf7
commit
8e6d44eedc
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ bufs = []
|
||||||
for i in range(0, len(combuf), 128):
|
for i in range(0, len(combuf), 128):
|
||||||
bufs.append(deco.decompress(combuf[i:i+128]))
|
bufs.append(deco.decompress(combuf[i:i+128]))
|
||||||
bufs.append(deco.flush())
|
bufs.append(deco.flush())
|
||||||
decomp2 = ''.join(buf)
|
decomp2 = ''.join(bufs)
|
||||||
if decomp2 != buf:
|
if decomp2 != buf:
|
||||||
print "decompressobj with init options failed"
|
print "decompressobj with init options failed"
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue