summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--django/contrib/contenttypes/tests.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/django/contrib/contenttypes/tests.py b/django/contrib/contenttypes/tests.py
index b6b1c5099a..e25503c715 100644
--- a/django/contrib/contenttypes/tests.py
+++ b/django/contrib/contenttypes/tests.py
@@ -44,7 +44,6 @@ class ContentTypesTests(TestCase):
# Once we clear the cache, another lookup will again hit the DB
ContentType.objects.clear_cache()
ContentType.objects.get_for_model(ContentType)
- len(db.connection.queries)
self.assertEqual(2, len(db.connection.queries))
def test_shortcut_view(self):