summaryrefslogtreecommitdiff
path: root/tests/regressiontests/null_queries/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/regressiontests/null_queries/models.py')
-rw-r--r--tests/regressiontests/null_queries/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/regressiontests/null_queries/models.py b/tests/regressiontests/null_queries/models.py
index 09024f18c2..21944d9e7a 100644
--- a/tests/regressiontests/null_queries/models.py
+++ b/tests/regressiontests/null_queries/models.py
@@ -32,7 +32,7 @@ __test__ = {'API_TESTS':"""
>>> Choice.objects.filter(foo__exact=None)
Traceback (most recent call last):
...
-TypeError: Cannot resolve keyword 'foo' into field
+TypeError: Cannot resolve keyword 'foo' into field. Choices are: id, poll, choice
# Can't use None on anything other than __exact
>>> Choice.objects.filter(id__gt=None)