mirror of
https://github.com/django/django.git
synced 2024-12-01 15:42:04 +01:00
Fixed flake8 warning.
This commit is contained in:
parent
53d28f8339
commit
fa14fb9771
@ -469,6 +469,7 @@ class CreatesuperuserManagementCommandTestCase(TestCase):
|
||||
Creation should fail if the password fails validation.
|
||||
"""
|
||||
new_io = six.StringIO()
|
||||
|
||||
# Returns '1234567890' the first two times it is called, then
|
||||
# 'password' subsequently.
|
||||
def bad_then_good_password(index=[0]):
|
||||
|
Loading…
Reference in New Issue
Block a user