summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--django/contrib/contenttypes/tests.py1
1 files changed, 1 insertions, 0 deletions
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):
"""