Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Whitespace normalization. | Tim Peters | 2005-01-07 | 1 | -1/+1 |
| | |||||
* | [Bug #1083110] calling .flush() on decompress objects causes a segfault due ↵ | Andrew M. Kuchling | 2004-12-28 | 1 | -0/+10 |
| | | | | to an uninitialized pointer: fixes the problem and adds a test case | ||||
* | Remove a number of tests that differ only in input data size. It seems | Neil Schemenauer | 2004-06-05 | 1 | -161/+59 |
| | | | | | | no bug motivated their inclusion and the chance of them triggering a problem seems unlikely. Refactor to reduce code duplication. Rename 'hamlet_scene' to 'HAMLET_SCENE'. Test is much faster now. Closes #960995. | ||||
* | Remove lots of magic constants. | Neil Schemenauer | 2004-06-05 | 1 | -23/+38 |
| | |||||
* | SF bug #785222: zlib monotonic test | Raymond Hettinger | 2003-08-31 | 1 | -11/+0 |
| | | | | | | For smaller datasets, it is not always true the increasing the compression level always results in better compression. Removed the test which made this invalid assumption. | ||||
* | Combine the functionality of test_support.run_unittest() | Walter Dörwald | 2003-05-01 | 1 | -12/+12 |
| | | | | | | | | | | and test_support.run_classtests() into run_unittest() and use it wherever possible. Also don't use "from test.test_support import ...", but "from test import test_support" in a few spots. From SF patch #662807. | ||||
* | Use floor division (//). | Guido van Rossum | 2003-02-27 | 1 | -3/+3 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2003-02-19 | 1 | -2/+1 |
| | |||||
* | - Thanks to Scott David Daniels, a subtle bug in how the zlib | Guido van Rossum | 2003-02-03 | 1 | -163/+444 |
| | | | | | | | | extension implemented flush() was fixed. Scott also rewrite the zlib test suite using the unittest module. (SF bug #640230 and patch #678531.) Backport candidate I think. | ||||
* | Portable way of producing unsigned 32-bit hex output to print the | Guido van Rossum | 2002-08-12 | 1 | -2/+4 |
| | | | | CRCs. | ||||
* | Get rid of relative imports in all unittests. Now anything that | Barry Warsaw | 2002-07-23 | 1 | -1/+1 |
| | | | | | | | | | | | imports e.g. test_support must do so using an absolute package name such as "import test.test_support" or "from test import test_support". This also updates the README in Lib/test, and gets rid of the duplicate data dirctory in Lib/test/data (replaced by Lib/email/test/data). Now Tim and Jack can have at it. :) | ||||
* | Fix SF #544995 (zlib crash on second flush call) | Jeremy Hylton | 2002-04-19 | 1 | -0/+6 |
| | | | | | | Bug fix by mhammond. Bug fix candidate for 2.2, not present in 2.1. | ||||
* | Whitespace normalization. | Tim Peters | 2001-10-18 | 1 | -1/+1 |
| | |||||
* | [ #403753 ] zlib decompress; uncontrollable memory usage | Jeremy Hylton | 2001-10-16 | 1 | -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 not | Andrew M. Kuchling | 2001-08-10 | 1 | -15/+20 |
| | | | | | available in java, so only use the advanced flush options if they are defined in the zlib module. | ||||
* | Whitespace normalization. | Tim Peters | 2001-02-21 | 1 | -2/+2 |
| | |||||
* | Add test case from bug #124981: zlib decompress of sync-flushed data | Andrew M. Kuchling | 2001-02-21 | 1 | -0/+26 |
| | | | | fails | ||||
* | Patch #103748 from Toby Dickenson: fix typo in test_zlib that turns one | Andrew M. Kuchling | 2001-02-14 | 1 | -1/+1 |
| | | | | test case into a no-op because ''.join('hello world') == 'hello world' | ||||
* | String method conversion. | Eric S. Raymond | 2001-02-09 | 1 | -3/+2 |
| | |||||
* | Make reindent.py happy (convert everything to 4-space indents!). | Fred Drake | 2000-10-23 | 1 | -8/+7 |
| | |||||
* | typos fixed by Rob Hooft | Jeremy Hylton | 2000-06-28 | 1 | -1/+1 |
| | |||||
* | Make this pass the -tt test. | Fred Drake | 2000-02-10 | 1 | -8/+8 |
| | |||||
* | Added simple test for the flush() method of compression objects, trying the | Andrew M. Kuchling | 1999-03-22 | 1 | -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 the | Guido van Rossum | 1998-04-24 | 1 | -3/+3 |
| | | | | same on 32 and 64 bit machines. | ||||
* | Make this test succeed even when using "import test.test_zlib". | Guido van Rossum | 1997-12-18 | 1 | -2/+5 |
| | |||||
* | Many more tests, including tests of many optional arguments. | Jeremy Hylton | 1997-09-04 | 1 | -0/+47 |
| | |||||
* | Use imp.find_module() as the most certain way to find the test data. | Guido van Rossum | 1997-08-15 | 1 | -1/+5 |
| | |||||
* | test the zlib module | Jeremy Hylton | 1997-08-15 | 1 | -0/+94 |
only produce output if somethign goes wrong |