Missing test teardowns
This kept a file pointer open while trying to delete the file.
This commit is contained in:
parent
d81fe590db
commit
5a41167a09
@ -17,6 +17,7 @@ class ModifyUncompressedTest(AbstractBlendFileTest):
|
||||
self.assertFalse(self.bf.is_compressed)
|
||||
|
||||
def tearDown(self):
|
||||
super().tearDown()
|
||||
if self.to_modify.exists():
|
||||
self.to_modify.unlink()
|
||||
|
||||
|
||||
@ -26,6 +26,7 @@ class AbstractPackTest(AbstractBlendFileTest):
|
||||
self.tpath = pathlib.Path(self.tdir.name)
|
||||
|
||||
def tearDown(self):
|
||||
super().tearDown()
|
||||
self.tdir.cleanup()
|
||||
|
||||
@staticmethod
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user