Corrected tests.backends.sqlite.tests.Tests.test_aggregation()'s docstring.

This commit is contained in:
Mariusz Felisiak 2020-09-12 21:59:49 +02:00
parent 9a0e5052ed
commit 3b8857b51a
1 changed files with 1 additions and 3 deletions

View File

@ -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'))