summaryrefslogtreecommitdiff
path: root/tests/annotations
diff options
context:
space:
mode:
Diffstat (limited to 'tests/annotations')
-rw-r--r--tests/annotations/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/annotations/tests.py b/tests/annotations/tests.py
index c39e8d3fbe..db4413564c 100644
--- a/tests/annotations/tests.py
+++ b/tests/annotations/tests.py
@@ -209,7 +209,7 @@ class NonAggregateAnnotationTestCase(TestCase):
lengths = Employee.objects.annotate(
name_len=Length('first_name'),
).distinct('name_len').values_list('name_len', flat=True)
- self.assertSequenceEqual(lengths, [3, 7, 8])
+ self.assertCountEqual(lengths, [3, 7, 8])
def test_filter_annotation(self):
books = Book.objects.annotate(