Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix the expressions modeltest to work on Pythons earlier than 2.5.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@11423 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit e6e96d871dd76a862451fd081d77d2ed0f09eb45 1 parent 34b4d1e
@kmtracey kmtracey authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  tests/modeltests/expressions/models.py
View
2  tests/modeltests/expressions/models.py
@@ -117,6 +117,6 @@ def __unicode__(self):
>>> acme.save()
Traceback (most recent call last):
...
-TypeError: int() argument must be a string or a number, not 'ExpressionNode'
+TypeError: int() argument must be a string or a number...
"""}
Please sign in to comment.
Something went wrong with that request. Please try again.