parent
0367bc6d04
commit
680cc417d3
|
@ -59,7 +59,3 @@ class RunInTmpDirMixin:
|
|||
if os.path.commonprefix([self.test_dir, os.path.abspath(dname)]) != self.test_dir:
|
||||
return
|
||||
shutil.rmtree(dname)
|
||||
|
||||
def rmfile(self, filepath):
|
||||
if os.path.exists(filepath):
|
||||
os.remove(filepath)
|
||||
|
|
Loading…
Reference in New Issue