Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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
  • Loading branch information...
commit 12eba9efc1eadcca4dcb55fdf0035a8893322062 1 parent 830b750
@freakboy3742 freakboy3742 authored
Showing with 0 additions and 4 deletions.
  1. +0 −4 tests/regressiontests/model_fields/models.py
View
4 tests/regressiontests/model_fields/models.py
@@ -49,25 +49,21 @@ class Whiz(models.Model):
# 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''
Please sign in to comment.
Something went wrong with that request. Please try again.