Skip to content

Commit

Permalink
[3.2.x] Refs #26167 -- Added @skipUnlessDBFeature('supports_expressio…
Browse files Browse the repository at this point in the history
…n_indexes') to a test.

Failure observed on CockroachDB.
Backport of 76c0b32 from main
  • Loading branch information
timgraham authored and felixxm committed Mar 9, 2021
1 parent b129728 commit cd4dc4c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/indexes/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -555,6 +555,7 @@ def test_covering_partial_index(self):
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'])
Expand Down

0 comments on commit cd4dc4c

Please sign in to comment.