mirror of
https://github.com/django/django.git
synced 2024-12-25 02:26:12 +00:00
[5.0.x] 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.
Backport of 9fd3a0ffc8
from main
This commit is contained in:
parent
d4bbdf5337
commit
c3cf518a80
@ -995,6 +995,7 @@ class UniqueConstraintTests(TestCase):
|
||||
exclude={"name"},
|
||||
)
|
||||
|
||||
@skipUnlessDBFeature("supports_table_check_constraints")
|
||||
def test_validate_nullable_textfield_with_isnull_true(self):
|
||||
is_null_constraint = models.UniqueConstraint(
|
||||
"price",
|
||||
|
Loading…
Reference in New Issue
Block a user