summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_shutil.py
Commit message (Collapse)AuthorAgeFilesLines
* 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 #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 #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 #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.
| * Issue #1666318: Add a test that shutil.copytree() retains directory permissions.Antoine Pitrou2013-08-161-0/+26
| | | | | | | | Patch by Catherine Devlin.
* | Merge #15415 from 3.3Nick Coghlan2013-07-281-5/+5
|\ \ | |/
| * Close #15415: Factor out temp dir helpers to test.supportNick Coghlan2013-07-281-5/+5
| | | | | | | | Patch by Chris Jerdonek
* | Update various test modules to use unittest.main() for test discoveryBrett Cannon2013-06-131-5/+1
| | | | | | | | instead of manually listing tests for test.support.run_unittest().
* | Issue #17746: Skip test_shutil.test_non_matching_mode when run as root orSerhiy Storchaka2013-05-281-0/+4
|\ \ | |/ | | | | on unsuitable platform/environment.
| * Issue #17746: Skip test_shutil.test_non_matching_mode when run as root orSerhiy Storchaka2013-05-281-0/+4
| | | | | | | | on unsuitable platform/environment.
* | Remove unused importBarry Warsaw2013-04-161-1/+0
|\ \ | |/
| * Remove unused import.Barry Warsaw2013-04-161-1/+0
| |
* | - Issue #17012: shutil.which() no longer fallbacks to the PATH environmentBarry Warsaw2013-04-161-0/+21
|\ \ | |/ | | | | variable if empty path argument is specified. Patch by Serhiy Storchaka.
| * - Issue #17012: shutil.which() no longer fallbacks to the PATH environmentBarry Warsaw2013-04-161-0/+21
| | | | | | | | variable if empty path argument is specified. Patch by Serhiy Storchaka.
* | #17076: Make copying of xattrs more permissive of missing FS supportHynek Schlawack2013-02-051-0/+11
|\ \ | |/ | | | | Patch by Thomas Wouters.
| * #17076: Make copying of xattrs more permissive of missing FS supportHynek Schlawack2013-02-051-0/+11
| | | | | | | | Patch by Thomas Wouters.
* | Fix pathext test for shutil.which() which wasSerhiy Storchaka2013-01-241-1/+1
|\ \ | |/ | | | | broken after applying the patch for issue #16957.
| * Fix pathext test for shutil.which() which wasSerhiy Storchaka2013-01-241-1/+1
| | | | | | | | broken after applying the patch for issue #16957.
* | Issue #16957: shutil.which() no longer searches a bare file name in theSerhiy Storchaka2013-01-231-8/+29
|\ \ | |/ | | | | | | current directory on Unix and no longer searches a relative file path with a directory part in PATH directories. Patch by Thomas Kluyver.
| * Issue #16957: shutil.which() no longer searches a bare file name in theSerhiy Storchaka2013-01-231-8/+29
| | | | | | | | | | current directory on Unix and no longer searches a relative file path with a directory part in PATH directories. Patch by Thomas Kluyver.
* | Fix shutil.which() test for issue #16993.Serhiy Storchaka2013-01-221-1/+1
|\ \ | |/
| * Fix shutil.which() test for issue #16993.Serhiy Storchaka2013-01-221-1/+1
| |
* | Issue #16993: shutil.which() now preserves the case of the path and extensionSerhiy Storchaka2013-01-211-3/+4
|\ \ | |/ | | | | on Windows.
| * Issue #16993: shutil.which() now preserves the case of the path and extensionSerhiy Storchaka2013-01-211-3/+4
| | | | | | | | on Windows.
* | Replace IOError with OSError (#16715)Andrew Svetlov2012-12-251-7/+7
| |
* | #15872: Some more Windows related tuning to shutil.rmtree testsHynek Schlawack2012-12-101-7/+7
|\ \ | |/ | | | | | | | | Turns out, the snakebite bots have also their peculiarities. I'm really not proud of this stream of commits. :(
| * #15872: Some more Windows related tuning to shutil.rmtree testsHynek Schlawack2012-12-101-7/+7
| |\ | | | | | | | | | | | | | | | Turns out, the snakebite bots behave also their peculiarities. I'm really not proud of this stream of commits. :(
| | * #15872: Some more Windows related tuning to shutil.rmtree testsHynek Schlawack2012-12-101-8/+7
| | | | | | | | | | | | | | | | | | Turns out, the snakebite bots behave also their peculiarities. I'm really not proud of this stream of commits. :(
* | | #15872: Be flexible with appending *.* in shutil.rmtree test caseHynek Schlawack2012-12-101-3/+7
|\ \ \ | |/ / | | | | | | The Windows buildbots seem to be unable to agree whether they need them or not.
| * | #15872: Be flexible with appending *.* in shutil.rmtree test caseHynek Schlawack2012-12-101-1/+1
| |\ \ | | |/ | | | | | | The Windows buildbots seem to be unable to agree whether they need them or not.
| | * #15872: Be flexible with appending *.* in shutil.rmtree test caseHynek Schlawack2012-12-101-1/+1
| | | | | | | | | | | | The Windows buildbots seem to be unable to agree whether they need them or not.
* | | #15872: More shutil test fixes for WindowsHynek Schlawack2012-12-101-5/+1
|\ \ \ | |/ / | | | | | | | | | This one is different from 3.2 and 3.3. Windows ceased using *.* since 3.4 apparently.
| * | #15872: More shutil test fixes for WindowsHynek Schlawack2012-12-101-2/+2
| |\ \ | | |/