From 1cf0989b0633bb982658e2c7015036d8475a13ca Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Thu, 22 Apr 2021 10:47:10 +0200 Subject: [3.2.x] Used assertCountEqual() in ExcludeTests.test_exclude_subquery(). Backport of c3278bb71fe03132704525abcdf29bb4f1b3f143 from main --- tests/queries/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/queries/tests.py b/tests/queries/tests.py index 584784fd1d..9350e3e37e 100644 --- a/tests/queries/tests.py +++ b/tests/queries/tests.py @@ -2822,7 +2822,7 @@ class ExcludeTests(TestCase): ) | JobResponsibilities.objects.exclude( job__responsibilities__description='foo', ) - self.assertSequenceEqual( + self.assertCountEqual( Job.objects.annotate( responsibility=subquery.filter( job=OuterRef('name'), -- cgit v1.2.1