summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2021-03-08 14:12:26 -0500
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2021-03-09 16:00:19 +0100
commitcd4dc4c3f1ccc6664fca5c7c700fcf9e0830d74f (patch)
treee1f6c3b5e36374295ad4dcb8af3863ae511c1c55
parentb129728834d80f96765cd55737711461f5d81078 (diff)
[3.2.x] Refs #26167 -- Added @skipUnlessDBFeature('supports_expression_indexes') to a test.
Failure observed on CockroachDB. Backport of 76c0b32f826469320c59709d31e2f2126dd7c505 from main
-rw-r--r--tests/indexes/tests.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/indexes/tests.py b/tests/indexes/tests.py
index ae68113c75..e114a90fba 100644
--- a/tests/indexes/tests.py
+++ b/tests/indexes/tests.py
@@ -555,6 +555,7 @@ class CoveringIndexTests(TransactionTestCase):
cursor=cursor, table_name=Article._meta.db_table,
))
+ @skipUnlessDBFeature('supports_expression_indexes')
def test_covering_func_index(self):
index_name = 'covering_func_headline_idx'
index = Index(Lower('headline'), name=index_name, include=['pub_date'])