diff --git a/tests/queries/tests.py b/tests/queries/tests.py index a7176240a0..44f6206b44 100644 --- a/tests/queries/tests.py +++ b/tests/queries/tests.py @@ -2810,7 +2810,7 @@ class ExcludeTests(TestCase): ) | JobResponsibilities.objects.exclude( job__responsibilities__description='foo', ) - self.assertSequenceEqual( + self.assertCountEqual( Job.objects.annotate( responsibility=subquery.filter( job=OuterRef('name'),