1
0
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:
skushagra
2024-01-24 12:18:14 +05:30
parent 20e073b053
commit 6855de7f8b

View File

@@ -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(""))