Missing test teardowns
This kept a file pointer open while trying to delete the file.
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user