Issue1599896

classification
Title: Enhanced zlib test suite
Type: Severity: normal
Components: None Versions:
Milestone:
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: Nosy List: akuchling, cgroves
Priority: normal Keywords: patch

Created on 2006-11-20.18:38:38 by akuchling, last changed 2006-11-28.03:38:28 by cgroves.

Files
File name Uploaded Description Edit Remove
test_zlib.py akuchling, 2006-11-20.18:38:38 Unittest-based test suite
Messages
msg2544 (view) Author: A.M. Kuchling (akuchling) Date: 2006-11-20.18:38:38
test_zlib.py is pretty minimal.  The attached file is the test_zlib.py from Python trunk, plus a small change to work with 2.2's unittest.py, minus a few tests of adler32() that specify a starting value other than 1 (the Java zip library doesn't support this).

The 2.2 trunk passes this test suite.
msg2545 (view) Author: Charlie Groves (cgroves) Date: 2006-11-21.03:33:23
Committed to trunk in r2982.  Should I pull this over to the 2.3 branch as well?
msg2546 (view) Author: A.M. Kuchling (akuchling) Date: 2006-11-21.13:03:49
Yes, that would be reasonable; we don't want the test suite to suddenly exercise less of the code.
msg2547 (view) Author: Charlie Groves (cgroves) Date: 2006-11-28.03:38:28
Cool.  Just wasn't sure if the test improved in 2.3 to where having a Jython specific version would be superfluous.  Pulled over in r2997.
History
Date User Action Args
2006-11-20 18:38:38akuchlingcreate