diff options
| author | Tim Graham <timograham@gmail.com> | 2019-02-04 11:07:46 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2019-02-04 18:07:02 -0500 |
| commit | 39ebdf5a3c5e4e979c71a18b4bad73e3946b02d0 (patch) | |
| tree | ba3325b4d05a2bc40a4471ac807b08e10f1f379b /tests/postgres_tests/test_aggregates.py | |
| parent | d47498c5df7e8861c19fea22e5b04229b510bc3e (diff) | |
Fixed #30155 -- Dropped support for PostgreSQL 9.4 and PostGIS 2.1.
Diffstat (limited to 'tests/postgres_tests/test_aggregates.py')
| -rw-r--r-- | tests/postgres_tests/test_aggregates.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/postgres_tests/test_aggregates.py b/tests/postgres_tests/test_aggregates.py index 85d6f45fd1..ec81f5ad75 100644 --- a/tests/postgres_tests/test_aggregates.py +++ b/tests/postgres_tests/test_aggregates.py @@ -1,7 +1,6 @@ import json from django.db.models.expressions import F, Value -from django.test.testcases import skipUnlessDBFeature from django.test.utils import Approximate from . import PostgreSQLTestCase @@ -184,12 +183,10 @@ class TestGeneralAggregate(PostgreSQLTestCase): ) self.assertEqual(values, {'arrayagg': [0, 1, 0, 2]}) - @skipUnlessDBFeature('has_jsonb_agg') def test_json_agg(self): values = AggregateTestModel.objects.aggregate(jsonagg=JSONBAgg('char_field')) self.assertEqual(values, {'jsonagg': ['Foo1', 'Foo2', 'Foo4', 'Foo3']}) - @skipUnlessDBFeature('has_jsonb_agg') def test_json_agg_empty(self): values = AggregateTestModel.objects.none().aggregate(jsonagg=JSONBAgg('integer_field')) self.assertEqual(values, json.loads('{"jsonagg": []}')) |
