From 76c0b32f826469320c59709d31e2f2126dd7c505 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Mon, 8 Mar 2021 14:12:26 -0500 Subject: [PATCH] Refs #26167 -- Added @skipUnlessDBFeature('supports_expression_indexes') to a test. Failure observed on CockroachDB. --- tests/indexes/tests.py | 1 + 1 file changed, 1 insertion(+) 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'])