From a395e531de234ef6828e3f18ffc58afa4638da65 Mon Sep 17 00:00:00 2001 From: Julien Phalip Date: Fri, 16 Mar 2012 00:29:11 +0000 Subject: [PATCH] Ensured that some staticfiles tests get properly cleaned up on teardown. Thanks to Claude Paroz for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17747 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- tests/regressiontests/staticfiles_tests/tests.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/regressiontests/staticfiles_tests/tests.py b/tests/regressiontests/staticfiles_tests/tests.py index 4d141ca885..733c3cc845 100644 --- a/tests/regressiontests/staticfiles_tests/tests.py +++ b/tests/regressiontests/staticfiles_tests/tests.py @@ -319,6 +319,7 @@ class TestCollectionFilesOverride(CollectionTestCase): 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_ordering_override(self): """