Message ID | 4D878F47.6040107@linaro.org |
---|---|
State | Accepted |
Headers | show |
=== modified file 'django/contrib/contenttypes/tests.py' --- django/contrib/contenttypes/tests.py 2011-03-16 17:43:12 +0000 +++ django/contrib/contenttypes/tests.py 2011-03-16 17:47:30 +0000 @@ -20,6 +20,7 @@ db.reset_queries() def tearDown(self): + ContentType.objects.clear_cache() settings.DEBUG = self.old_DEBUG Site._meta.installed = self.old_Site_meta_installed