diff --git a/tests/regressiontests/staticfiles_tests/tests.py b/tests/regressiontests/staticfiles_tests/tests.py index 4c03f6a5a9..b9b9c59790 100644 --- a/tests/regressiontests/staticfiles_tests/tests.py +++ b/tests/regressiontests/staticfiles_tests/tests.py @@ -276,6 +276,7 @@ class TestCollectionFilesOverride(BuildStaticTestCase): os.unlink(self.testfile_path) # set back original modification time os.utime(self.orig_path, (self.orig_atime, self.orig_mtime)) + super(TestCollectionFilesOverride, self).tearDown() def test_override(self): self.assertFileContains('file2.txt', 'duplicate of file2.txt')