diff options
Diffstat (limited to 'tests/annotations')
| -rw-r--r-- | tests/annotations/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/annotations/tests.py b/tests/annotations/tests.py index 4c0ec66665..6cb59c7fe4 100644 --- a/tests/annotations/tests.py +++ b/tests/annotations/tests.py @@ -1019,7 +1019,7 @@ class NonAggregateAnnotationTestCase(TestCase): .values("publisher") .annotate(count=Count("pk")) .values("count") - ) + )[:1] publisher_books_qs = ( Publisher.objects.annotate( total_books=Count("book"), |
