mirror of
https://github.com/django/django.git
synced 2025-04-10 08:19:39 +00:00
[3.2.x] Used assertCountEqual() in ExcludeTests.test_exclude_subquery().
Backport of c3278bb71fe03132704525abcdf29bb4f1b3f143 from main
This commit is contained in:
parent
4c63459692
commit
1cf0989b06
@ -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'),
|
||||
|
Loading…
x
Reference in New Issue
Block a user