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