mirror of https://github.com/django/django.git
[3.2.x] Refs #26167 -- Added @skipUnlessDBFeature('supports_expression_indexes') to a test.
Failure observed on CockroachDB.
Backport of 76c0b32f82
from main
This commit is contained in:
parent
b129728834
commit
cd4dc4c3f1
|
@ -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'])
|
||||
|
|
Loading…
Reference in New Issue