summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/PyShell.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2006-08-10 03:01:26 (GMT)
committerTim Peters <tim.peters@gmail.com>2006-08-10 03:01:26 (GMT)
commitb2dd1a3906d6ad0cbd4a136f2c93580b48212975 (patch)
treee2141ef052e6323b4674ca3c81f73f72940787e7 /Lib/idlelib/PyShell.py
parent1fe9ca09a30ec7e81d986ebd3b1acff4d16d5947 (diff)
downloadcpython-b2dd1a3906d6ad0cbd4a136f2c93580b48212975.zip
cpython-b2dd1a3906d6ad0cbd4a136f2c93580b48212975.tar.gz
cpython-b2dd1a3906d6ad0cbd4a136f2c93580b48212975.tar.bz2
test_copytree_simple(): This was leaving behind two new temp
directories each time it ran, at least on Windows. Several changes: explicitly closed all files; wrapped long lines; stopped suppressing errors when removing a file or directory fails (removing /shouldn't/ fail!); and changed what appeared to be incorrect usage of os.removedirs() (that doesn't remove empty directories at and /under/ the given path, instead it must be given an empty leaf directory and then deletes empty directories moving /up/ the path -- could be that the conceptually simpler shutil.rmtree() was really actually intended here).
Diffstat (limited to 'Lib/idlelib/PyShell.py')
0 files changed, 0 insertions, 0 deletions