summaryrefslogtreecommitdiff
path: root/tests/model_forms/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/model_forms/tests.py')
-rw-r--r--tests/model_forms/tests.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/model_forms/tests.py b/tests/model_forms/tests.py
index 59e5ee0242..57249820ed 100644
--- a/tests/model_forms/tests.py
+++ b/tests/model_forms/tests.py
@@ -3721,6 +3721,7 @@ class ModelToDictTests(TestCase):
self.assertEqual(data, [blue])
+@skipUnlessDBFeature("supports_table_check_constraints")
class ConstraintValidationTests(TestCase):
def test_unique_constraint_refs_excluded_field(self):
obj = ConstraintsModel.objects.create(name="product", price="1.00")