Author: adrian
Date: 2011-04-03 20:42:46 -0700 (Sun, 03 Apr 2011)
New Revision: 16013

Modified:
   django/trunk/django/contrib/contenttypes/tests.py
Log:
Fixed #15738 -- Removed unnecessary line in contrib.contenttypes tests. Thanks, 
mitnk

Modified: django/trunk/django/contrib/contenttypes/tests.py
===================================================================
--- django/trunk/django/contrib/contenttypes/tests.py   2011-04-03 23:50:12 UTC 
(rev 16012)
+++ django/trunk/django/contrib/contenttypes/tests.py   2011-04-04 03:42:46 UTC 
(rev 16013)
@@ -44,7 +44,6 @@
         # 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):

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to