From 9fd3a0ffc8fb8e532b0d5717f99fb15aff175a6c Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Thu, 12 Oct 2023 20:01:44 +0200 Subject: [PATCH] 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. --- tests/constraints/tests.py | 1 + 1 file changed, 1 insertion(+) 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",