Skip to content

Commit bb7f4f8

Browse files
authored
Relaxed a query ordering assertion in filtered_relation test.
1 parent 7732f94 commit bb7f4f8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/filtered_relation/tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ def test_union(self):
381381
"book", condition=Q(book__title__iexact="the book by jane a")
382382
),
383383
).filter(book_jane__isnull=False)
384-
self.assertSequenceEqual(qs1.union(qs2), [self.author1, self.author2])
384+
self.assertCountEqual(qs1.union(qs2), [self.author1, self.author2])
385385

386386
@skipUnlessDBFeature("supports_select_intersection")
387387
def test_intersection(self):

0 commit comments

Comments
 (0)