Skip to content

Commit 9fd3a0f

Browse files
authored
Refs #34840 -- Fixed test_validate_nullable_textfield_with_isnull_true() on databases that don's support table check constraints.
Thanks Tim Graham for the report.
1 parent 8adc7c8 commit 9fd3a0f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/constraints/tests.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -995,6 +995,7 @@ def test_validate_expression_str(self):
995995
exclude={"name"},
996996
)
997997

998+
@skipUnlessDBFeature("supports_table_check_constraints")
998999
def test_validate_nullable_textfield_with_isnull_true(self):
9991000
is_null_constraint = models.UniqueConstraint(
10001001
"price",

0 commit comments

Comments
 (0)