Fixed flake8 warning.

This commit is contained in:
Tim Graham 2015-08-02 21:30:13 -04:00
parent 53d28f8339
commit fa14fb9771
1 changed files with 1 additions and 0 deletions

View File

@ -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]):