summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2021-04-22 10:47:10 +0200
committerCarlton Gibson <carlton.gibson@noumenal.es>2021-04-22 14:42:47 +0200
commit1cf0989b0633bb982658e2c7015036d8475a13ca (patch)
tree7bca234180a5ef03fd2e84c5cdb750a69cb3187a /tests
parent4c6345969215e6ed401e981383bdaad4e42623e3 (diff)
downloaddjango-1cf0989b0633bb982658e2c7015036d8475a13ca.tar.gz
[3.2.x] Used assertCountEqual() in ExcludeTests.test_exclude_subquery().
Backport of c3278bb71fe03132704525abcdf29bb4f1b3f143 from main
Diffstat (limited to 'tests')
-rw-r--r--tests/queries/tests.py2
1 files changed, 1 insertions, 1 deletions
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'),