From e6e96d871dd76a862451fd081d77d2ed0f09eb45 Mon Sep 17 00:00:00 2001 From: Karen Tracey Date: Sun, 9 Aug 2009 15:44:09 +0000 Subject: [PATCH] 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 --- tests/modeltests/expressions/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/modeltests/expressions/models.py b/tests/modeltests/expressions/models.py index d4de5ccee92..27daabad713 100644 --- a/tests/modeltests/expressions/models.py +++ b/tests/modeltests/expressions/models.py @@ -117,6 +117,6 @@ FieldError: Joined field references are not permitted in this query >>> 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... """}