diff options
author | Hasan Ramezani <hasan.r67@gmail.com> | 2020-12-10 18:00:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-10 18:00:57 +0100 |
commit | 275dd4ebbabbbe758c7219a3d666953d5a7b072f (patch) | |
tree | d0534f7047f9ba43525368eda2c121df54801d4c /django/db/backends/postgresql/features.py | |
parent | 5ce31d6a7142ca8c76d6b52fa42b3406b9a8ff48 (diff) | |
download | django-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 'django/db/backends/postgresql/features.py')
-rw-r--r-- | django/db/backends/postgresql/features.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/django/db/backends/postgresql/features.py b/django/db/backends/postgresql/features.py index f5f844ca42..84259c0c19 100644 --- a/django/db/backends/postgresql/features.py +++ b/django/db/backends/postgresql/features.py @@ -59,6 +59,12 @@ class DatabaseFeatures(BaseDatabaseFeatures): has_json_operators = True json_key_contains_list_matching_requires_list = True + django_test_skips = { + 'opclasses are PostgreSQL only.': { + 'indexes.tests.SchemaIndexesNotPostgreSQLTests.test_create_index_ignores_opclasses', + }, + } + @cached_property def test_collations(self): # PostgreSQL < 10 doesn't support ICU collations. |