mirror of
https://github.com/django/django.git
synced 2024-12-22 17:16:24 +00:00
Corrected tests.backends.sqlite.tests.Tests.test_aggregation()'s docstring.
This commit is contained in:
parent
9a0e5052ed
commit
3b8857b51a
@ -37,9 +37,7 @@ class Tests(TestCase):
|
||||
check_sqlite_version()
|
||||
|
||||
def test_aggregation(self):
|
||||
"""
|
||||
Raise NotImplementedError when aggregating on date/time fields (#19360).
|
||||
"""
|
||||
"""Raise NotSupportedError when aggregating on date/time fields."""
|
||||
for aggregate in (Sum, Avg, Variance, StdDev):
|
||||
with self.assertRaises(NotSupportedError):
|
||||
Item.objects.all().aggregate(aggregate('time'))
|
||||
|
Loading…
Reference in New Issue
Block a user