From bb7f4f8a734f0f4dccd88e130b1c2ccd68b2d097 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Wed, 11 Feb 2026 05:03:16 -0500 Subject: [PATCH] Relaxed a query ordering assertion in filtered_relation test. --- tests/filtered_relation/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/filtered_relation/tests.py b/tests/filtered_relation/tests.py index e263307193cc..d15dd0d5f60f 100644 --- a/tests/filtered_relation/tests.py +++ b/tests/filtered_relation/tests.py @@ -381,7 +381,7 @@ def test_union(self): "book", condition=Q(book__title__iexact="the book by jane a") ), ).filter(book_jane__isnull=False) - self.assertSequenceEqual(qs1.union(qs2), [self.author1, self.author2]) + self.assertCountEqual(qs1.union(qs2), [self.author1, self.author2]) @skipUnlessDBFeature("supports_select_intersection") def test_intersection(self):