summaryrefslogtreecommitdiff
path: root/tests/annotations
diff options
context:
space:
mode:
authorJacob Walls <jacobtylerwalls@gmail.com>2025-05-11 20:38:28 -0400
committerSarah Boyce <42296566+sarahboyce@users.noreply.github.com>2025-08-07 14:28:44 +0200
commitde7bb7eab84dc53a7117127ad8eec44970efc509 (patch)
treef4499232c79c87515393fcbe2f0bbe58c33cb631 /tests/annotations
parent0bff53b4138d8c6009e9040dbb8916a1271a68d7 (diff)
Refs #36210 -- Added missing limits in Subquery tests.
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 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"),