[Python-checkins] CVS: python/dist/src/Lib/test test_zlib.py,1.10,1.11

A.M. Kuchling akuchling@users.sourceforge.net
Wed, 14 Feb 2001 09:46:22 -0800


Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv11921

Modified Files:
	test_zlib.py 
Log Message:
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'


Index: test_zlib.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_zlib.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** test_zlib.py	2001/02/09 12:01:58	1.10
--- test_zlib.py	2001/02/14 17:46:20	1.11
***************
*** 70,74 ****
      bufs.append(deco.decompress(combuf[i:i+128]))
  bufs.append(deco.flush())
! decomp2 = ''.join(buf)
  if decomp2 != buf:
      print "decompressobj with init options failed"
--- 70,74 ----
      bufs.append(deco.decompress(combuf[i:i+128]))
  bufs.append(deco.flush())
! decomp2 = ''.join(bufs)
  if decomp2 != buf:
      print "decompressobj with init options failed"