diff options
| author | Tim Graham <timograham@gmail.com> | 2017-09-06 10:26:45 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-09-27 11:00:04 -0400 |
| commit | 1d8cfa36089f2d1295abad03a99fc3c259bde6b5 (patch) | |
| tree | 458e608105acb5fe7e9db7e2c01c833df1673795 /tests/postgres_tests/test_json.py | |
| parent | ea7ca5db302367d84f92a4cf0ca03ec62886a7ca (diff) | |
Fixed #28626 -- Dropped support for PostgreSQL 9.3.
Thanks Simon Charette for the introspection changes.
Diffstat (limited to 'tests/postgres_tests/test_json.py')
| -rw-r--r-- | tests/postgres_tests/test_json.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/postgres_tests/test_json.py b/tests/postgres_tests/test_json.py index 2506fc36d6..cdabca04d6 100644 --- a/tests/postgres_tests/test_json.py +++ b/tests/postgres_tests/test_json.py @@ -5,7 +5,6 @@ from decimal import Decimal from django.core import exceptions, serializers from django.core.serializers.json import DjangoJSONEncoder from django.forms import CharField, Form, widgets -from django.test import skipUnlessDBFeature from django.utils.html import escape from . import PostgreSQLTestCase @@ -18,7 +17,6 @@ except ImportError: pass -@skipUnlessDBFeature('has_jsonb_datatype') class TestSaveLoad(PostgreSQLTestCase): def test_null(self): instance = JSONModel() @@ -92,7 +90,6 @@ class TestSaveLoad(PostgreSQLTestCase): self.assertEqual(loaded.field_custom, obj_after) -@skipUnlessDBFeature('has_jsonb_datatype') class TestQuerying(PostgreSQLTestCase): @classmethod def setUpTestData(cls): @@ -262,7 +259,6 @@ class TestQuerying(PostgreSQLTestCase): self.assertTrue(JSONModel.objects.filter(field__foo__iregex=r'^bAr$').exists()) -@skipUnlessDBFeature('has_jsonb_datatype') class TestSerialization(PostgreSQLTestCase): test_data = ( '[{"fields": {"field": {"a": "b", "c": null}, "field_custom": null}, ' |
