mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed line length too long in test_emailfied
This commit is contained in:
@@ -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(""))
|
||||
|
||||
Reference in New Issue
Block a user