summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_shutil.py
Commit message (Collapse)AuthorAgeFilesLines
* Document not-completely-obvious behavior in a test.Johannes Gijsbers2004-09-111-0/+7
|
* Unwrap too-smart loop: we can't use `src` for both hard and symbolic links.Johannes Gijsbers2004-08-141-8/+16
|
* Raise an exception when src and dst refer to the same file via a hard link or aJohannes Gijsbers2004-08-141-0/+21
| | | | symbolic link (bug #851123 / patch #854853, thanks Gregory Ball).
* - Bug #981530: Fix UnboundLocalError in shutil.rmtree(). This affectsGuido van Rossum2004-07-141-0/+1
| | | | | | | | the documented behavior: the function passed to the onerror() handler can now also be os.listdir. [I could've sworn I checked this in, but apparently I didn't, or it got lost???]
* shutil.move() will raise an exception when trying to move a directory intoBrett Cannon2004-06-191-2/+14
| | | | | | itself. Closes bug #919012 . Thanks Johannes Gijsbers.
* Combine the functionality of test_support.run_unittest()Walter Dörwald2003-05-011-8/+2
| | | | | | | | | | and test_support.run_classtests() into run_unittest() and use it wherever possible. Also don't use "from test.test_support import ...", but "from test import test_support" in a few spots. From SF patch #662807.
* A very minimal start to a test of the shutil module.Barry Warsaw2003-01-241-0/+28