summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_zipfile.py
Commit message (Collapse)AuthorAgeFilesLines
* #467924, patch by Alan McIntyre: Add ZipFile.extract and ZipFile.extractall.Georg Brandl2008-01-071-0/+56
|
* Patch #1675424: Added tests for uncovered code in the zipfile module.Georg Brandl2007-07-121-4/+114
| | | | | The KeyError raised by Zipfile.getinfo for nonexistent names now has a descriptive message.
* Remove direct call's to file's constructor and replace them with calls toBrett Cannon2007-05-251-1/+1
| | | | open() as ths is considered best practice.
* Whitespace normalization. Ugh, we really need to do this more often.Neal Norwitz2007-04-251-2/+2
| | | | You might want to review this change as it's my first time. Be gentle. :-)
* Make test_zipfile clean up its temporary files properly.Collin Winter2007-03-291-7/+12
|
* Whitespace normalization.Tim Peters2007-03-121-49/+49
|
* Patch #1121142: Implement ZipFile.open.Martin v. Löwis2007-03-061-10/+402
|
* Patch #1517891: Make 'a' create the file if it doesn't exist.Martin v. Löwis2007-02-131-0/+22
| | | | Fixes #1514451.
* Patch #698833: Support file decryption in zipfile.Martin v. Löwis2007-02-131-1/+42
|
* Whitespace normalization.Tim Peters2006-06-151-4/+4
|
* Patch #1446489 (zipfile: support for ZIP64)Ronald Oussoren2006-06-151-2/+250
|
* 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