summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2011-04-04 03:42:46 +0000
committerAdrian Holovaty <adrian@holovaty.com>2011-04-04 03:42:46 +0000
commit1c7a9a403a8cdeb300423bec569febe4e52241ba (patch)
treee3efa52c829ae73106f8f01b56039197c75186c6
parentfb55a1a77d2ca17c946d3579eed7efc259294637 (diff)
Fixed #15738 -- Removed unnecessary line in contrib.contenttypes tests. Thanks, mitnk
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16013 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-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):