From 275dd4ebbabbbe758c7219a3d666953d5a7b072f Mon Sep 17 00:00:00 2001 From: Hasan Ramezani Date: Thu, 10 Dec 2020 18:00:57 +0100 Subject: Fixed #32178 -- Allowed database backends to skip tests and mark expected failures. Co-authored-by: Tim Graham --- tests/indexes/tests.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests/indexes') diff --git a/tests/indexes/tests.py b/tests/indexes/tests.py index 3c4541f684..6d01e3b52f 100644 --- a/tests/indexes/tests.py +++ b/tests/indexes/tests.py @@ -1,5 +1,5 @@ import datetime -from unittest import skipIf, skipUnless +from unittest import skipUnless from django.db import connection from django.db.models import CASCADE, ForeignKey, Index, Q @@ -89,7 +89,6 @@ class SchemaIndexesTests(TestCase): ) -@skipIf(connection.vendor == 'postgresql', 'opclasses are PostgreSQL only') class SchemaIndexesNotPostgreSQLTests(TransactionTestCase): available_apps = ['indexes'] -- cgit v1.2.1