1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00

Refs #26167 -- Added @skipUnlessDBFeature('supports_expression_indexes') to a test.

Failure observed on CockroachDB.
This commit is contained in:
Tim Graham 2021-03-08 14:12:26 -05:00 committed by GitHub
parent 465fdffda0
commit 76c0b32f82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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'])