13 """
14
15 def test_username_validation_error_msg(self, user: User):
16 """17 Tests UserAdminCreation Form's unique validator functions correctly by testing:
18 1) A new user with an existing username cannot be added.
19 2) Only 1 error is raised by the UserCreation Form
There shouldn't be any blank lines after the function docstring. Remove the blank lines to fix this issue.
def example():
'''Bad docstring.'''
pass
def example():
'''Good docstring.'''
pass