summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_zlib.py
Commit message (Collapse)AuthorAgeFilesLines
* Whitespace normalization.Tim Peters2001-10-181-1/+1
|
* [ #403753 ] zlib decompress; uncontrollable memory usageJeremy Hylton2001-10-161-0/+30
| | | | | | | | | | | | | Mostly by Toby Dickenson and Titus Brown. Add an optional argument to a decompression object's decompress() method. The argument specifies the maximum length of the return value. If the uncompressed data exceeds this length, the excess data is stored as the unconsumed_tail attribute. (Not to be confused with unused_data, which is a separate issue.) Difference from SF patch: Default value for unconsumed_tail is "" rather than None. It's simpler if the attribute is always a string.
* Patch #441091 from Finn Bock: the more advanced flush options are notAndrew M. Kuchling2001-08-101-15/+20
| | | | | available in java, so only use the advanced flush options if they are defined in the zlib module.
* Whitespace normalization.Tim Peters2001-02-211-2/+2
|
* Add test case from bug #124981: zlib decompress of sync-flushed dataAndrew M. Kuchling2001-02-211-0/+26
| | | | fails
* Patch #103748 from Toby Dickenson: fix typo in test_zlib that turns oneAndrew M. Kuchling2001-02-141-1/+1
| | | | test case into a no-op because ''.join('hello world') == 'hello world'
* String method conversion.Eric S. Raymond2001-02-091-3/+2
|
* Make reindent.py happy (convert everything to 4-space indents!).Fred Drake2000-10-231-8/+7
|
* typos fixed by Rob HooftJeremy Hylton2000-06-281-1/+1
|
* Make this pass the -tt test.Fred Drake2000-02-101-8/+8
|
* Added simple test for the flush() method of compression objects, trying theAndrew M. Kuchling1999-03-221-0/+13
| | | | different flush values Z_NO_FLUSH, Z_SYNC_FLUSH, Z_FULL_FLUSH.
* Use hex() when outputting the various checksums so the test output is theGuido van Rossum1998-04-241-3/+3
| | | | same on 32 and 64 bit machines.
* Make this test succeed even when using "import test.test_zlib".Guido van Rossum1997-12-181-2/+5
|
* Many more tests, including tests of many optional arguments.Jeremy Hylton1997-09-041-0/+47
|
* Use imp.find_module() as the most certain way to find the test data.Guido van Rossum1997-08-151-1/+5
|
* test the zlib moduleJeremy Hylton1997-08-151-0/+94
only produce output if somethign goes wrong