Skip to content

Commit

Permalink
Refs #34840 -- Fixed test_validate_nullable_textfield_with_isnull_tru…
Browse files Browse the repository at this point in the history
…e() on databases that don's support table check constraints.

Thanks Tim Graham for the report.
  • Loading branch information
felixxm authored Oct 12, 2023
1 parent 8adc7c8 commit 9fd3a0f
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 @@ -995,6 +995,7 @@ def test_validate_expression_str(self):
exclude={"name"},
)

@skipUnlessDBFeature("supports_table_check_constraints")
def test_validate_nullable_textfield_with_isnull_true(self):
is_null_constraint = models.UniqueConstraint(
"price",
Expand Down

0 comments on commit 9fd3a0f

Please sign in to comment.