mirror of
https://github.com/django/django.git
synced 2025-01-24 17:19:19 +00:00
Used assertCountEqual() in ExcludeTests.test_exclude_subquery().
This commit is contained in:
parent
6a7af38b07
commit
c3278bb71f
@ -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'),
|
||||
|
Loading…
x
Reference in New Issue
Block a user