Refs #26167 -- Added @skipUnlessDBFeature('supports_expression_indexes') to a test.
Failure observed on CockroachDB.
This commit is contained in:
parent
465fdffda0
commit
76c0b32f82
|
@ -555,6 +555,7 @@ class CoveringIndexTests(TransactionTestCase):
|
||||||
cursor=cursor, table_name=Article._meta.db_table,
|
cursor=cursor, table_name=Article._meta.db_table,
|
||||||
))
|
))
|
||||||
|
|
||||||
|
@skipUnlessDBFeature('supports_expression_indexes')
|
||||||
def test_covering_func_index(self):
|
def test_covering_func_index(self):
|
||||||
index_name = 'covering_func_headline_idx'
|
index_name = 'covering_func_headline_idx'
|
||||||
index = Index(Lower('headline'), name=index_name, include=['pub_date'])
|
index = Index(Lower('headline'), name=index_name, include=['pub_date'])
|
||||||
|
|
Loading…
Reference in New Issue