[svn r57323] port 57174 from branch: ignore errors when removing dirs in teardowns
--HG-- branch : trunk
This commit is contained in:
parent
7dca0d02a9
commit
88a534e9b0
|
@ -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...
|
||||
|
|
Loading…
Reference in New Issue