mirror of
https://github.com/django/django.git
synced 2025-04-09 07:56:43 +00:00
Fixed line length too long in test_emailfied
This commit is contained in:
parent
20e073b053
commit
6855de7f8b
@ -70,6 +70,7 @@ class EmailFieldTest(FormFieldAssertionsMixin, SimpleTestCase):
|
||||
"'Ensure this value has at most 254 characters (it has 255).'"
|
||||
):
|
||||
f.clean(email)
|
||||
|
||||
def test_emailfield_strip_on_none_value(self):
|
||||
f = EmailField(required=False, empty_value=None)
|
||||
self.assertIsNone(f.clean(""))
|
||||
|
Loading…
x
Reference in New Issue
Block a user