Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit 1c7a9a403a8cdeb300423bec569febe4e52241ba 1 parent fb55a1a
@adrianholovaty adrianholovaty authored
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):
Please sign in to comment.
Something went wrong with that request. Please try again.