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...
1 parent 34b4d1e commit e6e96d871dd76a862451fd081d77d2ed0f09eb45 @kmtracey kmtracey committed Aug 9, 2009
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...
"""}

0 comments on commit e6e96d8

Please sign in to comment.