mirror of
https://github.com/django/django.git
synced 2025-06-05 03:29:12 +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).'"
|
"'Ensure this value has at most 254 characters (it has 255).'"
|
||||||
):
|
):
|
||||||
f.clean(email)
|
f.clean(email)
|
||||||
|
|
||||||
def test_emailfield_strip_on_none_value(self):
|
def test_emailfield_strip_on_none_value(self):
|
||||||
f = EmailField(required=False, empty_value=None)
|
f = EmailField(required=False, empty_value=None)
|
||||||
self.assertIsNone(f.clean(""))
|
self.assertIsNone(f.clean(""))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user