summaryrefslogtreecommitdiff
path: root/tests/indexes
diff options
context:
space:
mode:
authorHasan Ramezani <hasan.r67@gmail.com>2020-12-10 18:00:57 +0100
committerGitHub <noreply@github.com>2020-12-10 18:00:57 +0100
commit275dd4ebbabbbe758c7219a3d666953d5a7b072f (patch)
treed0534f7047f9ba43525368eda2c121df54801d4c /tests/indexes
parent5ce31d6a7142ca8c76d6b52fa42b3406b9a8ff48 (diff)
downloaddjango-275dd4ebbabbbe758c7219a3d666953d5a7b072f.tar.gz
Fixed #32178 -- Allowed database backends to skip tests and mark expected failures.
Co-authored-by: Tim Graham <timograham@gmail.com>
Diffstat (limited to 'tests/indexes')
-rw-r--r--tests/indexes/tests.py3
1 files changed, 1 insertions, 2 deletions
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']