mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed all E261 warnings
This commit is contained in:
@@ -34,6 +34,6 @@ class MaxLengthORMTests(unittest.TestCase):
|
||||
|
||||
for field in ("email", "vcard", "homepage", "avatar"):
|
||||
new_args = args.copy()
|
||||
new_args[field] = "X" * 250 # a value longer than any of the default fields could hold.
|
||||
new_args[field] = "X" * 250 # a value longer than any of the default fields could hold.
|
||||
p = PersonWithCustomMaxLengths.objects.create(**new_args)
|
||||
self.assertEqual(getattr(p, field), ("X" * 250))
|
||||
|
||||
Reference in New Issue
Block a user