summaryrefslogtreecommitdiff
path: root/tests/null_queries/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/null_queries/tests.py')
-rw-r--r--tests/null_queries/tests.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/null_queries/tests.py b/tests/null_queries/tests.py
index f807ad88ce..1b73c977b4 100644
--- a/tests/null_queries/tests.py
+++ b/tests/null_queries/tests.py
@@ -45,9 +45,6 @@ class NullQueriesTests(TestCase):
# Can't use None on anything other than __exact and __iexact
self.assertRaises(ValueError, Choice.objects.filter, id__gt=None)
- # Can't use None on anything other than __exact and __iexact
- self.assertRaises(ValueError, Choice.objects.filter, foo__gt=None)
-
# Related managers use __exact=None implicitly if the object hasn't been saved.
p2 = Poll(question="How?")
self.assertEqual(repr(p2.choice_set.all()), '[]')