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 23, 2024
1 parent e03e963 commit bc31078
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 bc31078

Please sign in to comment.