diff options
Diffstat (limited to 'tests/aggregation_regress/tests.py')
-rw-r--r-- | tests/aggregation_regress/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/aggregation_regress/tests.py b/tests/aggregation_regress/tests.py index 7068b86f6a..c207776822 100644 --- a/tests/aggregation_regress/tests.py +++ b/tests/aggregation_regress/tests.py @@ -963,7 +963,7 @@ class AggregationTests(TestCase): """ books = Book.objects.values_list("publisher__name").annotate( Count("id"), Avg("price"), Avg("authors__age"), avg_pgs=Avg("pages") - ).order_by("-publisher__name") + ).order_by("-publisher__name") self.assertEqual(books[0], ('Sams', 1, 23.09, 45.0, 528.0)) def test_annotation_disjunction(self): |