Skip to content

Commit

Permalink
add skip for partial index support
Browse files Browse the repository at this point in the history
  • Loading branch information
timgraham committed Oct 22, 2024
1 parent 1df3ca5 commit ef01260
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/constraints/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -1001,6 +1001,7 @@ def test_validate_ordered_expression(self):
exclude={"name"},
)

@skipUnlessDBFeature("supports_partial_indexes")
def test_validate_expression_condition(self):
constraint = models.UniqueConstraint(
Lower("name"),
Expand Down

0 comments on commit ef01260

Please sign in to comment.