From 755dbf39fcdc491fe9b588358303e259c7750be4 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Mon, 7 Sep 2020 15:45:56 -0400 Subject: Replaced @no_oracle skips with DatabaseFeatures.allows_group_by_lob. --- tests/model_fields/test_jsonfield.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/model_fields') diff --git a/tests/model_fields/test_jsonfield.py b/tests/model_fields/test_jsonfield.py index f45589e075..1c63d70bf9 100644 --- a/tests/model_fields/test_jsonfield.py +++ b/tests/model_fields/test_jsonfield.py @@ -355,7 +355,7 @@ class TestQuerying(TestCase): operator.itemgetter('key', 'count'), ) - @skipIf(connection.vendor == 'oracle', "Oracle doesn't support grouping by LOBs, see #24096.") + @skipUnlessDBFeature('allows_group_by_lob') def test_ordering_grouping_by_count(self): qs = NullableJSONModel.objects.filter( value__isnull=False, -- cgit v1.3