Skip to content
Snippets Groups Projects
Commit b6231433 authored by Sybren A. Stüvel's avatar Sybren A. Stüvel
Browse files

Explicitly clean up temporary directory after tests.

parent dce19396
No related branches found
No related tags found
No related merge requests found
...@@ -21,7 +21,7 @@ class MergeProgressiveRendersCommandTest(AbstractCommandTest): ...@@ -21,7 +21,7 @@ class MergeProgressiveRendersCommandTest(AbstractCommandTest):
def tearDown(self): def tearDown(self):
super().tearDown() super().tearDown()
del self.tmpdir self.tmpdir.cleanup()
def test_happy_flow(self): def test_happy_flow(self):
output = Path(self.tmpdir.name) / 'merged.exr' output = Path(self.tmpdir.name) / 'merged.exr'
......
...@@ -20,7 +20,7 @@ class MoveOutOfWayTest(AbstractCommandTest): ...@@ -20,7 +20,7 @@ class MoveOutOfWayTest(AbstractCommandTest):
def tearDown(self): def tearDown(self):
super().tearDown() super().tearDown()
del self.tmpdir self.tmpdir.cleanup()
def test_nonexistant_source(self): def test_nonexistant_source(self):
src = Path(self.tmpdir.name) / 'nonexistant-dir' src = Path(self.tmpdir.name) / 'nonexistant-dir'
......
...@@ -23,7 +23,7 @@ class MoveToFinalTest(AbstractCommandTest): ...@@ -23,7 +23,7 @@ class MoveToFinalTest(AbstractCommandTest):
def tearDown(self): def tearDown(self):
super().tearDown() super().tearDown()
del self.tmpdir self.tmpdir.cleanup()
def test_nonexistant_source(self): def test_nonexistant_source(self):
src = self.tmppath / 'nonexistant-dir' src = self.tmppath / 'nonexistant-dir'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment