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:26 +0200 |
| commit | b6bb2f809958ec32f6cb8a4f315ffcf490ee7a71 (patch) | |
| tree | 15397a88e0bf0592950e9dd7c8232d9e4d631c78 | |
| parent | e8fe48d3a02dbe3b57a87b334f6335b701f0306d (diff) | |
[4.2.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
| -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 8578aa85d5..72d248f435 100644 --- a/tests/constraints/tests.py +++ b/tests/constraints/tests.py @@ -779,6 +779,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", |
