summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_tarfile.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-32713: Fix tarfile.itn for large/negative float values. (GH-5434)Miss Islington (bot)2018-02-271-0/+8
| | | | | (cherry picked from commit 72d9b2be36f091793ae7ffc5ad751f040c6e6ad3) Co-authored-by: Joffrey F <f.joffrey@gmail.com>
* [3.6] bpo-28230: Document the pathlib support in tarfile and add tests. (#559)Serhiy Storchaka2017-03-081-0/+76
|
* Issue #28449: tarfile.open() with mode "r" or "r:" now tries to open a tarSerhiy Storchaka2016-10-301-1/+7
|\ | | | | | | | | file with compression before trying to open it without compression. Otherwise it had 50% chance failed with ignore_zeros=True.
| * Issue #28449: tarfile.open() with mode "r" or "r:" now tries to open a tarSerhiy Storchaka2016-10-301-1/+7
| | | | | | | | | | file with compression before trying to open it without compression. Otherwise it had 50% chance failed with ignore_zeros=True.
* | Issue #24838: Merge test_tarfile.py fix from 3.5.Lars Gustäbel2016-04-191-2/+2
|\ \ | |/
| * Issue #24838: Fix test_tarfile.py for non-utf8 filesystem encodings.Lars Gustäbel2016-04-191-2/+2
| |
* | Issue #24838: Merge tarfile fix from 3.5.Lars Gustäbel2016-04-191-5/+82
|\ \ | |/
| * Issue #24838: tarfile's ustar and gnu formats now correctly calculate name andLars Gustäbel2016-04-191-5/+82
| | | | | | | | link field limits for multibyte character encodings like utf-8.
* | Issue #23883: grp and pwd are None on WindowsMartin Panter2016-01-161-1/+1
| |
* | Issue #23883: Removed redundant names from blacklists.Serhiy Storchaka2016-01-161-2/+2
| |
* | Issue #23883: Add missing APIs to tarfile.__all__Martin Panter2016-01-161-0/+18
|/ | | | Patch by Joel Taddei and Jacek Kołodziej.
* Use support.change_cwd() in tests.Serhiy Storchaka2015-09-061-9/+3
|\
| * Use support.change_cwd() in tests.Serhiy Storchaka2015-09-061-9/+3
| |
* | Merge with 3.4: Issue #24259: tarfile now raises a ReadError if an archive ↵Lars Gustäbel2015-07-061-0/+23
|\ \ | |/ | | | | is truncated inside a data segment.
| * Issue #24259: tarfile now raises a ReadError if an archive is truncated ↵Lars Gustäbel2015-07-061-0/+23
| | | | | | | | inside a data segment.
* | Merge with 3.4: Issue #24514: tarfile now tolerates number fields consisting ↵Lars Gustäbel2015-07-021-0/+4
|\ \ | |/ | | | | of only whitespace.
| * Issue #24514: tarfile now tolerates number fields consisting of only whitespace.Lars Gustäbel2015-07-021-0/+4
| |
* | tarfile.open() with mode 'x' created files without an end of archive marker.Lars Gustäbel2015-05-271-1/+14
| |
* | Issue #23193: Skip numeric_owner tests on platforms where they don't make senseZachary Ware2015-05-131-0/+2
| | | | | | | | | | In particular, the tests bomb out on Windows. The feature is a no-op on platforms without the pwd module or os.geteuid anyway.
* | Issue #9517: Move script_helper to the support package.Berker Peksag2015-05-061-1/+2
| | | | | | | | Patch by Christie Wilson.
* | Issue 23193: Add numeric_owner to tarfile.TarFile.extract() and ↵Eric V. Smith2015-04-151-0/+132
| | | | | | | | tarfile.TarFile.extractall().
* | Issue #21717: tarfile.open() now supports 'x' (exclusive creation) mode.Berker Peksag2015-02-131-0/+82
| |
* | Issue #23421: Fixed compression in tarfile CLI. Patch by wdv4758h.Serhiy Storchaka2015-02-101-0/+15
|\ \ | |/
| * Issue #23421: Fixed compression in tarfile CLI. Patch by wdv4758h.Serhiy Storchaka2015-02-101-0/+15
| |
| * Issue #21440: Backport changeset 4ebf97299b18 to branch 3.4, useVictor Stinner2014-09-031-20/+19
| | | | | | | | support.rmtree() and support.unlink() in test_zipfile & test_tarfile
* | Issue #21549: Added the "members" parameter to TarFile.list().Serhiy Storchaka2014-08-211-0/+12
| |
* | Issue 21044: tarfile.open() now handles fileobj with an integer 'name'Serhiy Storchaka2014-07-161-6/+30
|\ \ | |/ | | | | attribute. Based on patch by Martin Panter.
| * Issue 21044: tarfile.open() now handles fileobj with an integer 'name'Serhiy Storchaka2014-07-161-6/+30
| | | | | | | | attribute. Based on patch by Martin Panter.
* | Issue21440 Use support.rmtree in test_zipfile & test_tarfileTim Golden2014-05-061-20/+19
|/
* Issue #20672: Fixed tests for TarFile.list() on non-UTF-8 locales.Serhiy Storchaka2014-02-191-8/+10
|\
| * Issue #20672: Fixed tests for TarFile.list() on non-UTF-8 locales.Serhiy Storchaka2014-02-191-8/+10
| |
* | Issue #19920: TarFile.list() no longer fails when outputs a listingSerhiy Storchaka2014-02-051-18/+99
|\ \ | |/ | | | | | | containing non-encodable characters. Added tests for TarFile.list(). Based on patch by Vajrasky Kok.
| * Issue #19920: TarFile.list() no longer fails when outputs a listingSerhiy Storchaka2014-02-051-0/+78
| | | | | | | | | | containing non-encodable characters. Added tests for TarFile.list(). Based on patch by Vajrasky Kok.
| * Fix typo.Serhiy Storchaka2014-01-241-1/+1
| |
| * Issue #20384: Fix the test_tarfile test on Windows.Serhiy Storchaka2014-01-241-1/+6
| | | | | | | | On Windows os.open() error message doesn't contain file name.
* | Issue #20243: TarFile no longer raise ReadError when opened in write mode.Serhiy Storchaka2014-01-181-0/+16
|\ \ | |/
| * Issue #20243: TarFile no longer raise ReadError when opened in write mode.Serhiy Storchaka2014-01-181-0/+16
| |
* | Issue #20238: TarFile opened with external fileobj and "w:gz" mode didn'tSerhiy Storchaka2014-01-181-0/+6
|\ \ | |/ | | | | write complete output on close.
| * Issue #20238: TarFile opened with external fileobj and "w:gz" mode didn'tSerhiy Storchaka2014-01-181-0/+6
| | | | | | | | write complete output on close.
* | Issue #20245: The open functions in the tarfile module now correctly handle ↵Serhiy Storchaka2014-01-181-0/+14
|\ \ | |/ | | | | empty mode.
| * Issue #20245: The open functions in the tarfile module now correctly handle ↵Serhiy Storchaka2014-01-181-0/+14
| | | | | | | | empty mode.
| * Test the open of non-exitent tarfile in all modes.Serhiy Storchaka2014-01-131-5/+7
| |
* | Test the open of non-exitent tarfile in all modes.Serhiy Storchaka2014-01-131-5/+7
| |
* | Try to fix test_tarfile under WindowsAntoine Pitrou2013-11-241-1/+1
| |
* | Build a list of supported test tarfiles dynamically for CLI "test" commandSerhiy Storchaka2013-11-241-3/+6
| | | | | | | | tests (issue13477).
* | Issue #13477: Added command line interface to the tarfile module.Serhiy Storchaka2013-11-231-1/+165
| | | | | | | | Original patch by Berker Peksag.
* | Issue #15767: Excise the remaining instances of ModuleNotFoundErrorBrett Cannon2013-07-041-3/+3
| |
* | Issue #18223: Refactor test_tarfile.Serhiy Storchaka2013-06-171-382/+339
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | * Use mixins for generating tests for different compression types. * Make test_tarfile discoverable. * Use more special tests (i.e. assertEqual, assertIs) instead of assertTrue. * Add explicit test skips instead of reporting skipped tests as passed. * Wrap long lines. * Correct a comment for test_hardlink_extraction1. * Add support.requires_gzip. * Replace ImportError by ModuleNotFoundError. and some other minor enhancements.
| * Issue #18223: Refactor test_tarfile.Serhiy Storchaka2013-06-171-380/+337
| | | | | | | | | | | | | | | | | | | | | | | | * Use mixins for generating tests for different compression types. * Make test_tarfile discoverable. * Use more special tests (i.e. assertEqual, assertIs) instead of assertTrue. * Add explicit test skips instead of reporting skipped tests as passed. * Wrap long lines. * Correct a comment for test_hardlink_extraction1. * Add support.requires_gzip. and some other minor enhancements.
* | Issue #16601: Restarting iteration over tarfile no more continues from whereSerhiy Storchaka2013-05-091-0/+8
|\ \ | |/ | | | | it left off. Patch by Michael Birtwell.