Guido van Rossum
f27cc5bc74
Marc-Andre must not have run these tests -- they used verify() but
...
didn't import it. Also got rid of some inconsistent spaces inside
parentheses in test_gzip.py.
2001-01-17 21:43:06 +00:00
Marc-André Lemburg
3661908a6a
This patch removes all uses of "assert" in the regression test suite
...
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.
2001-01-17 19:11:13 +00:00
Fred Drake
004d5e6880
Make reindent.py happy (convert everything to 4-space indents!).
2000-10-23 17:22:08 +00:00
Andrew M. Kuchling
85ab7384f6
Exercise .readline() and .readlines(). More data is written to the
...
test file, too, so the methods have more work to do.
2000-07-29 20:18:34 +00:00
Guido van Rossum
052364b20b
Use binary mode for all gzip files we open.
1999-04-07 19:00:58 +00:00
Andrew M. Kuchling
605ebddbea
Added a simple test suite for gzip. It simply opens a temp file,
...
writes a chunk of compressed data, closes it, writes another chunk, and
reads the contents back to verify that they are the same.
1999-03-25 21:50:27 +00:00