Skip to content
Browse files

Fixed #15738 -- Removed unnecessary line in contrib.contenttypes test…

…s. Thanks, mitnk

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16013 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent fb55a1a commit 1c7a9a403a8cdeb300423bec569febe4e52241ba @adrianholovaty adrianholovaty committed Apr 4, 2011
Showing with 0 additions and 1 deletion.
  1. +0 −1 django/contrib/contenttypes/tests.py
View
1 django/contrib/contenttypes/tests.py
@@ -44,7 +44,6 @@ def test_lookup_cache(self):
# 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):

0 comments on commit 1c7a9a4

Please sign in to comment.
Something went wrong with that request. Please try again.