summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2008-07-27 13:55:35 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2008-07-27 13:55:35 +0000
commit12eba9efc1eadcca4dcb55fdf0035a8893322062 (patch)
treed7cdf95dcf169f74487ab8d7e996c60b29e6bfa7
parent830b750131d2ac4c5e896cc4594ffd22db26b53e (diff)
Removed some model saves from [8102] which were causing test failures under Postgres. Thanks to Ramiro Morales for the report (via IRC).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8104 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--tests/regressiontests/model_fields/models.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/regressiontests/model_fields/models.py b/tests/regressiontests/model_fields/models.py
index 9936184606..790bc5010e 100644
--- a/tests/regressiontests/model_fields/models.py
+++ b/tests/regressiontests/model_fields/models.py
@@ -49,25 +49,21 @@ u'First'
# Test a top level value
>>> w.c = 0
->>> w.save()
>>> w.get_c_display()
u'Other'
# Test an invalid data value
>>> w.c = 9
->>> w.save()
>>> w.get_c_display()
9
# Test a blank data value
>>> w.c = None
->>> w.save()
>>> print w.get_c_display()
None
# Test an empty data value
>>> w.c = ''
->>> w.save()
>>> w.get_c_display()
u''