summaryrefslogtreecommitdiff
path: root/tests/queries
diff options
context:
space:
mode:
authorEddy Adegnandjou <adegnandjoueddy12@gmail.com>2025-10-31 09:00:41 +0100
committerJacob Walls <jacobtylerwalls@gmail.com>2026-04-02 11:24:26 -0400
commitcec10f992be8eed5ed90506375ae5794cbb7069e (patch)
tree9a9fcb9fd206db469bd20a948539268902e88cdb /tests/queries
parent3fb37ef41103ad0624ed9e8c3f7b9190f4264ae2 (diff)
Fixed #20024 -- Fixed handling of __in lookups with None in exclude().
Thanks Simon Charette and Tim Graham for reviews, and Jason Hall for a prior iteration.
Diffstat (limited to 'tests/queries')
-rw-r--r--tests/queries/tests.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/queries/tests.py b/tests/queries/tests.py
index f2136df243..c00a78e2ed 100644
--- a/tests/queries/tests.py
+++ b/tests/queries/tests.py
@@ -3536,13 +3536,7 @@ class NullInExcludeTest(TestCase):
# into subquery above
self.assertIs(inner_qs._result_cache, None)
- @unittest.expectedFailure
def test_col_not_in_list_containing_null(self):
- """
- The following case is not handled properly because
- SQL's COL NOT IN (list containing null) handling is too weird to
- abstract away.
- """
self.assertQuerySetEqual(
NullableName.objects.exclude(name__in=[None]), ["i1"], attrgetter("name")
)