diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2023-10-12 20:01:44 +0200 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2023-10-12 20:02:02 +0200 |
| commit | c3cf518a804be9bf56883bf2c93c1d0229b18b8b (patch) | |
| tree | ce642cc84a55d4dd9986dd71093edba3f4790c40 /tests | |
| parent | d4bbdf5337089925f2900c44d3e953a947e4ca0e (diff) | |
[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 9fd3a0ffc8fb8e532b0d5717f99fb15aff175a6c from main
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/constraints/tests.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/constraints/tests.py b/tests/constraints/tests.py index e1b95baf60..55df5975de 100644 --- a/tests/constraints/tests.py +++ b/tests/constraints/tests.py @@ -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", |
