summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_gzip.py
Commit message (Collapse)AuthorAgeFilesLines
* SF bug #999776, zlib home page wrongNeal Norwitz2004-07-291-1/+1
| | | | Backport candidate.
* Added a new fileno() method. ZODB's repozo.py wants this so it canTim Peters2004-07-271-1/+9
| | | | apply os.fsync() to the GzipFile backup files it creates.
* Massive changes from SF 589982 (tempfile.py rewrite, by ZackGuido van Rossum2002-08-091-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 relativeBarry Warsaw2002-07-301-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 Montanaro2002-05-231-1/+5
| | | | closes patch #536278.
* Whitespace normalization.Tim Peters2001-08-091-1/+1
|
* Patch #448474: Add support for tell() and seek() to gzip.GzipFile.Martin v. Löwis2001-08-091-0/+24
|
* Marc-Andre must not have run these tests -- they used verify() butGuido van Rossum2001-01-171-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 suiteMarc-André Lemburg2001-01-171-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 Drake2000-10-231-3/+2
|
* Exercise .readline() and .readlines(). More data is written to theAndrew M. Kuchling2000-07-291-4/+28
| | | | test file, too, so the methods have more work to do.
* Use binary mode for all gzip files we open.Guido van Rossum1999-04-071-4/+4
|
* Added a simple test suite for gzip. It simply opens a temp file,Andrew M. Kuchling1999-03-251-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.