summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_zipfile.py
Commit message (Collapse)AuthorAgeFilesLines
* Whitespace normalization.Tim Peters2006-02-201-1/+1
|
* Bug #1413790: zipfile now sanitizes absolute archive names that areGeorg Brandl2006-02-201-0/+10
| | | | not allowed by the specs.
* Whitespace normalization.Tim Peters2004-08-201-1/+1
|
* Port test_zipfile to unittest (patch #736962).Johannes Gijsbers2004-08-191-98/+98
|
* SF patch #756996: Bare except in ZipFile.testzip()Raymond Hettinger2003-06-271-0/+21
| | | | | | | | | (Contributed by Steven Taschuk) Replaces a bare except that caused all errors to be mis-reported as archive errors. Added a related NEWS item.
* Get rid of relative imports in all unittests. Now anything thatBarry Warsaw2002-07-231-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. :)
* SF patch #474590 -- RISC OS supportGuido van Rossum2001-10-241-4/+4
|
* 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