diff --git a/django/contrib/contenttypes/tests.py b/django/contrib/contenttypes/tests.py index 790193b289..b6b1c5099a 100644 --- a/django/contrib/contenttypes/tests.py +++ b/django/contrib/contenttypes/tests.py @@ -22,6 +22,7 @@ class ContentTypesTests(TestCase): def tearDown(self): settings.DEBUG = self.old_DEBUG Site._meta.installed = self.old_Site_meta_installed + ContentType.objects.clear_cache() def test_lookup_cache(self): """