summaryrefslogtreecommitdiff
path: root/tests/aggregation_regress
diff options
context:
space:
mode:
authorRenato Oliveira <renato@labcodes.com.br>2015-09-11 10:14:35 -0500
committerTim Graham <timograham@gmail.com>2015-09-11 12:16:06 -0400
commite3720b990a33ae259da4b1f1f6069aa6bbc8c03d (patch)
tree3edd893660805b93724f854fa986352e9fe7b50a /tests/aggregation_regress
parentfba8655e88e9ed576630d7f505389119ab36ef28 (diff)
downloaddjango-e3720b990a33ae259da4b1f1f6069aa6bbc8c03d.tar.gz
Fixed #25382 -- Removed obsolete references to DateQuerySet.
Diffstat (limited to 'tests/aggregation_regress')
-rw-r--r--tests/aggregation_regress/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/aggregation_regress/tests.py b/tests/aggregation_regress/tests.py
index 44c0f0c07f..beb87bdb3a 100644
--- a/tests/aggregation_regress/tests.py
+++ b/tests/aggregation_regress/tests.py
@@ -670,7 +670,7 @@ class AggregationTests(TestCase):
lambda b: b.name
)
- # Regression for #10248 - Annotations work with DateQuerySets
+ # Regression for #10248 - Annotations work with dates()
qs = Book.objects.annotate(num_authors=Count('authors')).filter(num_authors=2).dates('pubdate', 'day')
self.assertQuerysetEqual(
qs, [