Switched TestCase to SimpleTestCase where possible in Django's tests.

This commit is contained in:
Tim Graham 2018-11-26 14:05:02 -05:00
parent f091ea3515
commit 193c109327
37 changed files with 130 additions and 134 deletions

View file

@ -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).