summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_zipfile.py
Commit message (Collapse)AuthorAgeFilesLines
* When zlib can't be imported, zipfile raises RuntimeError, which causesGuido van Rossum2001-04-101-0/+1
| | | | | the test to be marked as failing rather than skipped. Add an explicit "import zlib" to prevent this.
* Sf bug [ #412214 ] ZipFile constructor leaves files open.Tim Peters2001-04-041-0/+16
| | | | | | This applies the patch Fred Drake created to fix it. I'm checking it in since I had to apply the patch anyway in order to test its behavior on Windows.
* Whitespace normalization.Tim Peters2001-03-291-4/+4
|
* Itamar Shtull-Trauring <itamar@maxnm.com>:Fred Drake2001-03-261-10/+27
| | | | | Add support to zipfile to support opening an archive represented by an open file rather than a file name.
* Added regression test for SF tracker bug #403871: AttributeError inFred Drake2001-02-281-0/+19
| | | | | | | | | | | | | | ZipFile.__del__() when there was an IOError opening the underlying file in ZipFile.__init__(). This is an odd test: since the exception is in the __del__() method, it is not propogated. This test will trigger it but regrtest.py does not detect the failure (not sure why); we are dependent on it actually being noticed by a user to get a new bug report if it ever fails. ;-( On the other hand, this makes sure that code gets exercised, so a failure could be noticed!
* Make reindent.py happy (convert everything to 4-space indents!).Fred Drake2000-10-231-17/+16
|
* Test for zipfile.py, by Jim Ahlstrom.Guido van Rossum2000-04-101-0/+26