summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2020-09-12 21:59:49 +0200
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-09-13 20:09:44 +0200
commit3b8857b51ab4ab2ef19bcfc665a427e19a7aabc0 (patch)
treefac94e58bcc7f25464b647ab552e6450b2287a7e /tests
parent9a0e5052ed5509cc582b1b3eeaa30f85858fee48 (diff)
Corrected tests.backends.sqlite.tests.Tests.test_aggregation()'s docstring.
Diffstat (limited to 'tests')
-rw-r--r--tests/backends/sqlite/tests.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/backends/sqlite/tests.py b/tests/backends/sqlite/tests.py
index c014519910..17a58f32ae 100644
--- a/tests/backends/sqlite/tests.py
+++ b/tests/backends/sqlite/tests.py
@@ -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'))