diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2021-04-22 10:47:10 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-22 10:47:10 +0200 |
| commit | c3278bb71fe03132704525abcdf29bb4f1b3f143 (patch) | |
| tree | f30ce16d456f1774ce15c55ebfcb09a311f5e620 /tests | |
| parent | 6a7af38b072f97d15e06aba87c673c16ecafe5a8 (diff) | |
Used assertCountEqual() in ExcludeTests.test_exclude_subquery().
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/queries/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
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'), |
