1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00

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

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