summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_shutil.py
Commit message (Collapse)AuthorAgeFilesLines
* Fixes tests broken by issue #27781.Steve Dower2016-09-081-3/+1
|
* Issue #27895: Spelling fixes (Contributed by Ville Skyttä).Raymond Hettinger2016-08-301-2/+2
|
* Issue #27626: Spelling fixes in docs, comments and internal namesMartin Panter2016-07-281-1/+1
| | | | Based on patch by Ville Skyttä.
* Issue #26801: shutil.get_terminal_size() now handles the case of stdout isSerhiy Storchaka2016-04-241-0/+29
| | | | reopened on Windows. Added tests for fallbacks.
* Fix shutil.get_terminal_size() error handlingVictor Stinner2016-04-191-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 directorySerhiy Storchaka2015-11-221-0/+23
|\ | | | | | | entries. Patch by Dingyuan Wang.
| * Issue #25624: ZipFile now always writes a ZIP_STORED header for directorySerhiy Storchaka2015-11-221-0/+23
| | | | | | | | entries. Patch by Dingyuan Wang.
* | Issue #25686: test_shutil no longer uses the distutils package for searchingSerhiy Storchaka2015-11-211-9/+7
|\ \ | |/ | | | | and running external archivers.
| * Issue #25686: test_shutil no longer uses the distutils package for searchingSerhiy Storchaka2015-11-211-9/+7
| | | | | | | | and running external archivers.
* | Issue #25607: Restore old distutils logging threshold after running tests thatSerhiy Storchaka2015-11-121-1/+1
|\ \ | |/ | | | | parse command line arguments.
| * Issue #25607: Restore old distutils logging threshold after running tests thatSerhiy Storchaka2015-11-121-1/+1
| | | | | | | | parse command line arguments.
* | Fixed tests for shutil.make_archive() with relative base_name in the case whenSerhiy Storchaka2015-09-081-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 whenSerhiy Storchaka2015-09-081-2/+2
| | | | | | | | the path of the directory for temporary files contains symlinks.
* | Issue #24982: shutil.make_archive() with the "zip" format now adds entriesSerhiy Storchaka2015-09-081-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 entriesSerhiy Storchaka2015-09-081-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 onSerhiy Storchaka2015-09-071-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 onSerhiy Storchaka2015-09-071-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 failureSerhiy Storchaka2015-09-071-11/+11
|\ \ | |/ | | | | details in issue25018.
| * Explicitly test archive name in shutil.make_archive() tests to expose failureSerhiy Storchaka2015-09-071-11/+11
| | | | | | | | details in issue25018.
* | Fix, refactor and extend tests for shutil.make_archive().Serhiy Storchaka2015-09-061-89/+83
|\ \ | |/
| * Fix, refactor and extend tests for shutil.make_archive().Serhiy Storchaka2015-09-061-89/+83
| |
* | Use support.change_cwd() in tests.Serhiy Storchaka2015-09-061-37/+7
|\ \ | |/
| * Use support.change_cwd() in tests.Serhiy Storchaka2015-09-061-37/+7
| |
* | Issue #21697: shutil.copytree() now correctly handles symbolic links that ↵Berker Peksag2015-07-251-0/+20
|\ \ | |/ | | | | | | | | point to directories. Patch by Eduardo Seabra and Thomas Kluyver.
| * Issue #21697: shutil.copytree() now correctly handles symbolic links that ↵Berker Peksag2015-07-251-0/+20
| | | | | | | | | | | | point to directories. Patch by Eduardo Seabra and Thomas Kluyver.
* | Issue #21775: shutil.copytree(): fix crash when copying to VFATBerker Peksag2014-12-101-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 VFATBerker Peksag2014-12-101-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 ofSerhiy Storchaka2014-11-271-0/+15
|\ \ | |/ | | | | current directory in current directory.
| * Issue #21280: Fixed a bug in shutil.make_archive() when create an archive ofSerhiy Storchaka2014-11-271-0/+15
| | | | | | | | current directory in current directory.
* | Issue #22665: Add missing get_terminal_size and SameFileError to shutil.__all__.Berker Peksag2014-11-011-0/+18
|\ \ | |/
| * Issue #22665: Add missing get_terminal_size and SameFileError to shutil.__all__.Berker Peksag2014-11-011-0/+18
| |
* | Issue #20056: Fixed deprecation warning about bytes path in test_shutil onSerhiy Storchaka2014-08-071-1/+4
|\ \ | |/ | | | | Windows. Path by Vajrasky Kok.
| * Issue #20056: Fixed deprecation warning about bytes path in test_shutil onSerhiy Storchaka2014-08-071-1/+4
| | | | | | | | Windows. Path by Vajrasky Kok.
* | Issue #5411: Added support for the "xztar" format in the shutil module.Serhiy Storchaka2014-08-061-0/+8
| |
* | #19840: Add copy_function to shutil.move.R David Murray2014-06-111-0/+18
|/ | | | Patch by Claudiu Popa.
* Issue #19856: shutil.move() failed to move a directory to other directorySerhiy Storchaka2014-02-111-0/+9
|\ | | | | | | on Windows if source name ends with os.altsep.
| * Issue #19856: shutil.move() failed to move a directory to other directorySerhiy Storchaka2014-02-111-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. Smith2014-01-171-1/+1
|\ \ | |/ | | | | ordering of the directory information in the underlying filesystem.
| * sort os.listxattr results before comparing it to avoid depending on theGregory P. Smith2014-01-171-1/+1
| | | | | | | | ordering of the directory information in the underlying filesystem.
* | Issue #20055: Fix test_shutil under Windows with symlink privileges held.Antoine Pitrou2014-01-011-13/+19
|\ \ | |/ | | | | Patch by Vajrasky Kok.
| * Issue #20055: Fix test_shutil under Windows with symlink privileges held.Antoine Pitrou2014-01-011-13/+19
| | | | | | | | Patch by Vajrasky Kok.
| * Fix DeprecationWarnings in test suiteAntoine Pitrou2013-12-211-7/+7
| |
* | Backout a1a05e2724dd: shutil.which(bytes) is a new feature and my patch does ↵Victor Stinner2013-12-161-11/+2
| | | | | | | | not work on Windows
* | Issue #18283: shutil.which() now supports bytes argument, not only text ↵Victor Stinner2013-12-161-2/+11
| | | | | | | | argument.
* | Issue 19572: More silently skipped tests explicitly skipped.Zachary Ware2013-12-081-3/+1
|\ \ | |/
| * Issue 19572: More silently skipped tests explicitly skipped.Zachary Ware2013-12-081-3/+1
| |
| * Issue #18702: All skipped tests now reported as skipped.Serhiy Storchaka2013-11-031-61/+62
| |
* | Issue #18702: All skipped tests now reported as skipped.Serhiy Storchaka2013-11-031-61/+62
| |
* | Stop using assertEquals.Brett Cannon2013-08-231-4/+4
| |
* | Issue #1666318: Add a test that shutil.copytree() retains directory permissions.Antoine Pitrou2013-08-161-0/+26
|\ \ | |/ | | | | Patch by Catherine Devlin.