Author: mtredinnick
Date: 2007-10-13 21:14:29 -0500 (Sat, 13 Oct 2007)
New Revision: 6491

Modified:
   django/branches/queryset-refactor/tests/regressiontests/queries/models.py
Log:
queryset-refactor: Removed a test that can be better (and simply) fixed on trunk


Modified: 
django/branches/queryset-refactor/tests/regressiontests/queries/models.py
===================================================================
--- django/branches/queryset-refactor/tests/regressiontests/queries/models.py   
2007-10-14 02:14:15 UTC (rev 6490)
+++ django/branches/queryset-refactor/tests/regressiontests/queries/models.py   
2007-10-14 02:14:29 UTC (rev 6491)
@@ -21,7 +21,6 @@
 
 class Item(models.Model):
     name = models.CharField(maxlength=10)
-    data_ = models.CharField(maxlength=10, blank=True, null=True)
     tags = models.ManyToManyField(Tag, blank=True, null=True)
     creator = models.ForeignKey(Author)
 
@@ -62,7 +61,7 @@
 >>> i2 = Item(name='two', creator=a2)
 >>> i2.save()
 >>> i2.tags = [t1, t3]
->>> i3 = Item(name='three', data_='x', creator=a2)
+>>> i3 = Item(name='three', creator=a2)
 >>> i3.save()
 >>> i4 = Item(name='four', creator=a4)
 >>> i4.save()
@@ -130,12 +129,6 @@
 >>> (q1 & q2).order_by('name')
 [<Item: one>]
 
-Bug #3265
-# FIXME: Currently causes a crash. Probably not worth fixing, but must make it
-# a validation error in that case.
-# >>> Item.objects.get(data___exact='x')
-# <Item: three>
-
 Bugs #4088 & #4306
 >>> Report.objects.filter(creator=1001)
 [<Report: r1>]


--~--~---------~--~----~------------~-------~--~----~
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