summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2023-10-12 20:01:44 +0200
committerGitHub <noreply@github.com>2023-10-12 20:01:44 +0200
commit9fd3a0ffc8fb8e532b0d5717f99fb15aff175a6c (patch)
tree8bcf5c07a1b289e15df0c02b276c0d4b35ffaeb5 /tests
parent8adc7c86ab85ed91e512bc49056e301cbe1715d0 (diff)
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.
Diffstat (limited to 'tests')
-rw-r--r--tests/constraints/tests.py1
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",