Skip to content

Commit e6e96d8

Browse files
committed
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
1 parent 34b4d1e commit e6e96d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/modeltests/expressions/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,6 @@ def __unicode__(self):
117117
>>> acme.save()
118118
Traceback (most recent call last):
119119
...
120-
TypeError: int() argument must be a string or a number, not 'ExpressionNode'
120+
TypeError: int() argument must be a string or a number...
121121
122122
"""}

0 commit comments

Comments
 (0)