From c3278bb71fe03132704525abcdf29bb4f1b3f143 Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Thu, 22 Apr 2021 10:47:10 +0200 Subject: [PATCH] Used assertCountEqual() in ExcludeTests.test_exclude_subquery(). --- 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 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'),