Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [3.6] bpo-32964: Reuse a testing implementation of the path protocol in ↵ | Serhiy Storchaka | 2018-03-03 | 1 | -1/+8 |
| | | | | | | | tests. (GH-5930). (GH-5958) (cherry picked from commit b21d155f57d284aecf9092a9bd24258293965c2f) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | ||||
* | [3.6] bpo-28759: Skip some tests on PermissionError raised by Android ↵ | xdegaye | 2017-11-12 | 1 | -8/+13 |
| | | | | | | (GH-4350) (#4380) (cherry picked from commit 92c2ca7633c881a56157f2fb8b2e1b8c7114e5fb) | ||||
* | [3.6] Make test_shutil test_disk_usage not depend on the cwd fs (GH-2597) ↵ | Gregory P. Smith | 2017-07-23 | 1 | -1/+1 |
| | | | | | | (#2820) Make test_shutil test_disk_usage not depend on the current working directory's filesystem. (cherry picked from commit 529746c90584069270cd122920270bd7be38bca3) | ||||
* | Issue #14061: Misc fixes and cleanups in archiving code in shutil. | Serhiy Storchaka | 2016-12-16 | 1 | -51/+44 |
|\ | | | | | | | | | | | Imporoved the documentation and tests for make_archive() and unpack_archive(). Improved error handling when corresponding compress module is not available. Brake circular dependency between shutil and tarfile modules. | ||||
| * | Issue #14061: Misc fixes and cleanups in archiving code in shutil. | Serhiy Storchaka | 2016-12-16 | 1 | -51/+44 |
| | | | | | | | | | | | | Imporoved the documentation and tests for make_archive() and unpack_archive(). Improved error handling when corresponding compress module is not available. Brake circular dependency between shutil and tarfile modules. | ||||
* | | Issue #28759: Fix the tests that fail with PermissionError when run as | Xavier de Gaye | 2016-12-13 | 1 | -1/+5 |
| | | | | | | | | a non-root user on Android where access rights are controled by SELinux MAC. | ||||
* | | Issue #28662: Catch PermissionError in tests when spawning a non existent ↵ | Xavier de Gaye | 2016-11-14 | 1 | -1/+2 |
| | | | | | | | | program | ||||
* | | Issue #28488: shutil.make_archive() no longer adds entry "./" to ZIP archive. | Serhiy Storchaka | 2016-10-23 | 1 | -0/+13 |
|\ \ | |/ | |||||
| * | Issue #28488: shutil.make_archive() no longer adds entry "./" to ZIP archive. | Serhiy Storchaka | 2016-10-23 | 1 | -0/+13 |
| | | |||||
* | | Fixes tests broken by issue #27781. | Steve Dower | 2016-09-08 | 1 | -3/+1 |
| | | |||||
* | | Issue #27895: Spelling fixes (Contributed by Ville Skyttä). | Raymond Hettinger | 2016-08-30 | 1 | -2/+2 |
|/ | |||||
* | Issue #27626: Spelling fixes in docs, comments and internal names | Martin Panter | 2016-07-28 | 1 | -1/+1 |
| | | | | Based on patch by Ville Skyttä. | ||||
* | Issue #26801: shutil.get_terminal_size() now handles the case of stdout is | Serhiy Storchaka | 2016-04-24 | 1 | -0/+29 |
| | | | | reopened on Windows. Added tests for fallbacks. | ||||
* | Fix shutil.get_terminal_size() error handling | Victor Stinner | 2016-04-19 | 1 | -0/+2 |
| | | | | | | | | Issue #26801: Fix error handling in shutil.get_terminal_size(), catch AttributeError instead of NameError. Patch written by Emanuel Barry. test_shutil: skip the functional test using "stty size" command if os.get_terminal_size() is missing. | ||||
* | Issue #25624: ZipFile now always writes a ZIP_STORED header for directory | Serhiy Storchaka | 2015-11-22 | 1 | -0/+23 |
|\ | | | | | | | entries. Patch by Dingyuan Wang. | ||||
| * | Issue #25624: ZipFile now always writes a ZIP_STORED header for directory | Serhiy Storchaka | 2015-11-22 | 1 | -0/+23 |
| | | | | | | | | entries. Patch by Dingyuan Wang. | ||||
* | | Issue #25686: test_shutil no longer uses the distutils package for searching | Serhiy Storchaka | 2015-11-21 | 1 | -9/+7 |
|\ \ | |/ | | | | | and running external archivers. | ||||
| * | Issue #25686: test_shutil no longer uses the distutils package for searching | Serhiy Storchaka | 2015-11-21 | 1 | -9/+7 |
| | | | | | | | | and running external archivers. | ||||
* | | Issue #25607: Restore old distutils logging threshold after running tests that | Serhiy Storchaka | 2015-11-12 | 1 | -1/+1 |
|\ \ | |/ | | | | | parse command line arguments. | ||||
| * | Issue #25607: Restore old distutils logging threshold after running tests that | Serhiy Storchaka | 2015-11-12 | 1 | -1/+1 |
| | | | | | | | | parse command line arguments. | ||||
* | | Fixed tests for shutil.make_archive() with relative base_name in the case when | Serhiy Storchaka | 2015-09-08 | 1 | -2/+2 |
|\ \ | |/ | | | | | the path of the directory for temporary files contains symlinks. | ||||
| * | Fixed tests for shutil.make_archive() with relative base_name in the case when | Serhiy Storchaka | 2015-09-08 | 1 | -2/+2 |
| | | | | | | | | the path of the directory for temporary files contains symlinks. | ||||
* | | Issue #24982: shutil.make_archive() with the "zip" format now adds entries | Serhiy Storchaka | 2015-09-08 | 1 | -6/+31 |
|\ \ | |/ | | | | | | | for directories (including empty directories) in ZIP file. Added test for comparing shutil.make_archive() with the "zip" command. | ||||
| * | Issue #24982: shutil.make_archive() with the "zip" format now adds entries | Serhiy Storchaka | 2015-09-08 | 1 | -6/+31 |
| | | | | | | | | | | for directories (including empty directories) in ZIP file. Added test for comparing shutil.make_archive() with the "zip" command. | ||||
* | | Issue #25018: Fixed testing shutil.make_archive() with relative base_name on | Serhiy Storchaka | 2015-09-07 | 1 | -9/+19 |
|\ \ | |/ | | | | | | | Windows. The test now makes sense on non-Windows. Added similar test for zip format. | ||||
| * | Issue #25018: Fixed testing shutil.make_archive() with relative base_name on | Serhiy Storchaka | 2015-09-07 | 1 | -9/+19 |
| | | | | | | | | | | Windows. The test now makes sense on non-Windows. Added similar test for zip format. | ||||
* | | Explicitly test archive name in shutil.make_archive() tests to expose failure | Serhiy Storchaka | 2015-09-07 | 1 | -11/+11 |
|\ \ | |/ | | | | | details in issue25018. | ||||
| * | Explicitly test archive name in shutil.make_archive() tests to expose failure | Serhiy Storchaka | 2015-09-07 | 1 | -11/+11 |
| | | | | | | | | details in issue25018. | ||||
* | | Fix, refactor and extend tests for shutil.make_archive(). | Serhiy Storchaka | 2015-09-06 | 1 | -89/+83 |
|\ \ | |/ | |||||
| * | Fix, refactor and extend tests for shutil.make_archive(). | Serhiy Storchaka | 2015-09-06 | 1 | -89/+83 |
| | | |||||
* | | Use support.change_cwd() in tests. | Serhiy Storchaka | 2015-09-06 | 1 | -37/+7 |
|\ \ | |/ | |||||
| * | Use support.change_cwd() in tests. | Serhiy Storchaka | 2015-09-06 | 1 | -37/+7 |
| | | |||||
* | | Issue #21697: shutil.copytree() now correctly handles symbolic links that ↵ | Berker Peksag | 2015-07-25 | 1 | -0/+20 |
|\ \ | |/ | | | | | | | | | point to directories. Patch by Eduardo Seabra and Thomas Kluyver. | ||||
| * | Issue #21697: shutil.copytree() now correctly handles symbolic links that ↵ | Berker Peksag | 2015-07-25 | 1 | -0/+20 |
| | | | | | | | | | | | | point to directories. Patch by Eduardo Seabra and Thomas Kluyver. | ||||
* | | Issue #21775: shutil.copytree(): fix crash when copying to VFAT | Berker Peksag | 2014-12-10 | 1 | -0/+15 |
|\ \ | |/ | | | | | | | | | | | | | | | An exception handler assumed that that OSError objects always have a 'winerror' attribute. That is not the case, so the exception handler itself raised AttributeError when run on Linux (and, presumably, any other non-Windows OS). Patch by Greg Ward. | ||||
| * | Issue #21775: shutil.copytree(): fix crash when copying to VFAT | Berker Peksag | 2014-12-10 | 1 | -0/+15 |
| | | | | | | | | | | | | | | | | | | An exception handler assumed that that OSError objects always have a 'winerror' attribute. That is not the case, so the exception handler itself raised AttributeError when run on Linux (and, presumably, any other non-Windows OS). Patch by Greg Ward. | ||||
* | | Issue #21280: Fixed a bug in shutil.make_archive() when create an archive of | Serhiy Storchaka | 2014-11-27 | 1 | -0/+15 |
|\ \ | |/ | | | | | current directory in current directory. | ||||
| * | Issue #21280: Fixed a bug in shutil.make_archive() when create an archive of | Serhiy Storchaka | 2014-11-27 | 1 | -0/+15 |
| | | | | | | | | current directory in current directory. | ||||
* | | Issue #22665: Add missing get_terminal_size and SameFileError to shutil.__all__. | Berker Peksag | 2014-11-01 | 1 | -0/+18 |
|\ \ | |/ | |||||
| * | Issue #22665: Add missing get_terminal_size and SameFileError to shutil.__all__. | Berker Peksag | 2014-11-01 | 1 | -0/+18 |
| | | |||||
* | | Issue #20056: Fixed deprecation warning about bytes path in test_shutil on | Serhiy Storchaka | 2014-08-07 | 1 | -1/+4 |
|\ \ | |/ | | | | | Windows. Path by Vajrasky Kok. | ||||
| * | Issue #20056: Fixed deprecation warning about bytes path in test_shutil on | Serhiy Storchaka | 2014-08-07 | 1 | -1/+4 |
| | | | | | | | | Windows. Path by Vajrasky Kok. | ||||
* | | Issue #5411: Added support for the "xztar" format in the shutil module. | Serhiy Storchaka | 2014-08-06 | 1 | -0/+8 |
| | | |||||
* | | #19840: Add copy_function to shutil.move. | R David Murray | 2014-06-11 | 1 | -0/+18 |
|/ | | | | Patch by Claudiu Popa. | ||||
* | Issue #19856: shutil.move() failed to move a directory to other directory | Serhiy Storchaka | 2014-02-11 | 1 | -0/+9 |
|\ | | | | | | | on Windows if source name ends with os.altsep. | ||||
| * | Issue #19856: shutil.move() failed to move a directory to other directory | Serhiy Storchaka | 2014-02-11 | 1 | -0/+9 |
| | | | | | | | | on Windows if source name ends with os.altsep. | ||||
* | | sort os.listxattr results before comparing it to avoid depending on the ↵ | Gregory P. Smith | 2014-01-17 | 1 | -1/+1 |
|\ \ | |/ | | | | | ordering of the directory information in the underlying filesystem. | ||||
| * | sort os.listxattr results before comparing it to avoid depending on the | Gregory P. Smith | 2014-01-17 | 1 | -1/+1 |
| | | | | | | | | ordering of the directory information in the underlying filesystem. | ||||
* | | Issue #20055: Fix test_shutil under Windows with symlink privileges held. | Antoine Pitrou | 2014-01-01 | 1 | -13/+19 |
|\ \ | |/ | | | | | Patch by Vajrasky Kok. | ||||
| * | Issue #20055: Fix test_shutil under Windows with symlink privileges held. | Antoine Pitrou | 2014-01-01 | 1 | -13/+19 |
| | | | | | | | | Patch by Vajrasky Kok. |