mirror of
https://github.com/django/django.git
synced 2025-04-05 22:16:41 +00:00
[3.2.x] Refs #26167 -- Added @skipUnlessDBFeature('supports_expression_indexes') to a test.
Failure observed on CockroachDB. Backport of 76c0b32f826469320c59709d31e2f2126dd7c505 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…
x
Reference in New Issue
Block a user