Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove the test file before writing it in case there is no write permission. | Neal Norwitz | 2008-04-10 | 1 | -5/+2 |
| | | | | | | This might help fix some of the failures on Windows box(es). It doesn't hurt either way and ensure the tests are a little more self contained (ie have less assumptions). | ||||
* | Patch #2167 from calvin: Remove unused imports | Christian Heimes | 2008-02-23 | 1 | -1/+1 |
| | |||||
* | Patch #1647484: Renamed GzipFile's filename attribute to name. The | Lars Gustäbel | 2007-02-13 | 1 | -0/+7 |
| | | | | | filename attribute is still accessible as a property that emits a DeprecationWarning. | ||||
* | Whitespace normalization. | Tim Peters | 2007-01-30 | 1 | -1/+1 |
| | |||||
* | Patch #1355023: support whence argument for GzipFile.seek. | Martin v. Löwis | 2006-11-12 | 1 | -0/+11 |
| | |||||
* | [Bug #1074261, patch #1074381] Restrict the size of chunks read from the ↵ | Andrew M. Kuchling | 2005-06-09 | 1 | -0/+23 |
| | | | | file in order to avoid overflow or huge memory consumption. Patch by Mark Eichin | ||||
* | Convert gzip test suite to use unittest | Andrew M. Kuchling | 2005-06-09 | 1 | -74/+110 |
| | |||||
* | SF bug #999776, zlib home page wrong | Neal Norwitz | 2004-07-29 | 1 | -1/+1 |
| | | | | Backport candidate. | ||||
* | Added a new fileno() method. ZODB's repozo.py wants this so it can | Tim Peters | 2004-07-27 | 1 | -1/+9 |
| | | | | apply os.fsync() to the GzipFile backup files it creates. | ||||
* | Massive changes from SF 589982 (tempfile.py rewrite, by Zack | Guido van Rossum | 2002-08-09 | 1 | -3/+3 |
| | | | | | Weinberg). This changes all uses of deprecated tempfile functions to the recommended ones. | ||||
* | Complete the absolute import patch for the test suite. All relative | Barry Warsaw | 2002-07-30 | 1 | -1/+1 |
| | | | | | | | | imports of test modules now import from the test package. Other related oddities are also fixed (like DeprecationWarning filters that weren't specifying the full import part, etc.). Also did a general code cleanup to remove all "from test.test_support import *"'s. Other from...import *'s weren't changed. | ||||
* | force gzip module to open files using 'b'inary mode. | Skip Montanaro | 2002-05-23 | 1 | -1/+5 |
| | | | | closes patch #536278. | ||||
* | Whitespace normalization. | Tim Peters | 2001-08-09 | 1 | -1/+1 |
| | |||||
* | Patch #448474: Add support for tell() and seek() to gzip.GzipFile. | Martin v. Löwis | 2001-08-09 | 1 | -0/+24 |
| | |||||
* | Marc-Andre must not have run these tests -- they used verify() but | Guido van Rossum | 2001-01-17 | 1 | -2/+3 |
| | | | | | didn't import it. Also got rid of some inconsistent spaces inside parentheses in test_gzip.py. | ||||
* | This patch removes all uses of "assert" in the regression test suite | Marc-André Lemburg | 2001-01-17 | 1 | -3/+3 |
| | | | | | | | and replaces them with a new API verify(). As a result the regression suite will also perform its tests in optimization mode. Written by Marc-Andre Lemburg. Copyright assigned to Guido van Rossum. | ||||
* | Make reindent.py happy (convert everything to 4-space indents!). | Fred Drake | 2000-10-23 | 1 | -3/+2 |
| | |||||
* | Exercise .readline() and .readlines(). More data is written to the | Andrew M. Kuchling | 2000-07-29 | 1 | -4/+28 |
| | | | | test file, too, so the methods have more work to do. | ||||
* | Use binary mode for all gzip files we open. | Guido van Rossum | 1999-04-07 | 1 | -4/+4 |
| | |||||
* | Added a simple test suite for gzip. It simply opens a temp file, | Andrew M. Kuchling | 1999-03-25 | 1 | -0/+30 |
writes a chunk of compressed data, closes it, writes another chunk, and reads the contents back to verify that they are the same. |