From de7bb7eab84dc53a7117127ad8eec44970efc509 Mon Sep 17 00:00:00 2001 From: Jacob Walls Date: Sun, 11 May 2025 20:38:28 -0400 Subject: Refs #36210 -- Added missing limits in Subquery tests. --- tests/annotations/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/annotations') 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"), -- cgit v1.3