1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00

Removed empty setUp() in admindocs tests.

This commit is contained in:
Simon Charette 2018-11-23 20:20:04 -05:00 committed by Tim Graham
parent b8763fc0a4
commit 26c2a6ff88

View File

@ -323,9 +323,6 @@ class DescriptionLackingField(models.Field):
class TestFieldType(unittest.TestCase):
def setUp(self):
pass
def test_field_name(self):
with self.assertRaises(AttributeError):
views.get_readable_field_data_type("NotAField")