From 193c109327c5216cab1d4eed6bfdff24629b09a3 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Mon, 26 Nov 2018 14:05:02 -0500 Subject: Switched TestCase to SimpleTestCase where possible in Django's tests. --- tests/model_forms/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/model_forms') diff --git a/tests/model_forms/tests.py b/tests/model_forms/tests.py index 556a41ed83..194e97a08b 100644 --- a/tests/model_forms/tests.py +++ b/tests/model_forms/tests.py @@ -2849,7 +2849,7 @@ class CustomMetaclassTestCase(SimpleTestCase): self.assertEqual(new_cls.base_fields, {}) -class StrictAssignmentTests(TestCase): +class StrictAssignmentTests(SimpleTestCase): """ Should a model do anything special with __setattr__() or descriptors which raise a ValidationError, a model form should catch the error (#24706). -- cgit v1.3