[svn r57323] port 57174 from branch: ignore errors when removing dirs in teardowns

--HG--
branch : trunk
This commit is contained in:
hpk 2008-08-16 17:38:54 +02:00
parent 7dca0d02a9
commit 88a534e9b0
1 changed files with 3 additions and 1 deletions

View File

@ -657,7 +657,9 @@ class LocalPath(common.FSPathBase, PlatformMixin):
pass # assume that it means that there is no 'lf'
try:
path.remove(rec=1)
except py.error.Error:
except KeyboardInterrupt:
raise
except: # this might be py.error.Error, WindowsError ...
pass
# make link...