summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_shutil.py
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |\ \ | | |/
| | * #15872: More shutil test fixes for WindowsHynek Schlawack2012-12-101-2/+2
| | |
* | | #15872: Fix shutil.rmtree error tests for WindowsHynek Schlawack2012-12-101-1/+5
|\ \ \ | |/ /
| * | #15872: Fix shutil.rmtree error tests for WindowsHynek Schlawack2012-12-101-1/+5
| |\ \ | | |/
| | * #15872: Fix shutil.rmtree error tests for WindowsHynek Schlawack2012-12-101-1/+5
| | |
* | | #15872: Fix 3.3 regression introduced by the new fd-based shutil.rmtreeHynek Schlawack2012-12-101-1/+37
|\ \ \ | |/ / | | | | | | | | | | | | It caused rmtree to not ignore certain errors when ignore_errors was set. Patch by Alessandro Moura and Serhiy Storchaka.
| * | #15872: Fix 3.3 regression introduced by the new fd-based shutil.rmtreeHynek Schlawack2012-12-101-1/+37
| |\ \ | | |/ | | | | | | | | | | | | It caused rmtree to not ignore certain errors when ignore_errors was set. Patch by Alessandro Moura and Serhiy Storchaka.
| | * #15872: Add tests for a 3.3 regression in the new fd-based shutil.rmtreeHynek Schlawack2012-12-101-0/+46
| | | | | | | | | | | | | | | It cause shutil.rmtree not ignore all errors. Also add a test ensuring that rmtree fails when being called on a symlink. Patch by Serhiy Storchaka.
| | * Issue #14662: Prevent shutil failures on OS X when destination does notNed Deily2012-05-111-0/+30
| | | | | | | | | | | | support chflag operations. (Patch by Hynek Schlawack)
* | | #1492704: Ensure and document backward compatibility of the changeHynek Schlawack2012-10-281-0/+2
| | |
* | | Closes #1492704: Make shutil.copyfile() raise a distinct SameFileErrorHynek Schlawack2012-10-071-3/+12
|/ / | | | | | | Patch by Atsuo Ishimoto.
* | #1492704: Backout and wait for 3.4Hynek Schlawack2012-07-191-12/+3
| |
* | #1492704: Make shutil.copyfile() raise a distinct SameFileErrorHynek Schlawack2012-07-191-3/+12
| | | | | | | | Patch by Atsuo Ishimoto.
* | #15238: Fix xattr related shutil.copystat testsHynek Schlawack2012-07-161-2/+1
| | | | | | | | | | | | | | - Loosen up test as Fedora has implicit xattrs - Actually test the destination for xattrs Should make Fedora buildbot green again.
* | Issue #15202: Consistently use the name "follow_symlinks" forLarry Hastings2012-07-151-14/+14
| | | | | | | | new parameters in os and shutil functions. Patch by Serhiy Storchaka.
* | - Issue #15238: shutil.copystat now copies Linux "extended attributes".Larry Hastings2012-07-151-0/+10
| |
* | Check for all used fd-based functions in shutil.rmdir, closes #15218Hynek Schlawack2012-06-291-1/+5
| |
* | #4489: Don't follow ever symlinks in rmtreeHynek Schlawack2012-06-281-1/+33
| | | | | | | | Also added several regression tests.
* | Issue #15817: Bugfix: remove temporary directories test_shutil was leavingLarry Hastings2012-06-261-0/+3
| | | | | | | | behind.