Refs #33476 -- Refactored problematic code before reformatting by Black.

In these cases Black produces unexpected results, e.g.

def make_random_password(
    self,
    length=10,
    allowed_chars='abcdefghjkmnpqrstuvwxyz' 'ABCDEFGHJKLMNPQRSTUVWXYZ' '23456789',
):

or

cursor.execute("""
SELECT ...
""",
    [table name],
)
This commit is contained in:
Mariusz Felisiak 2022-02-03 11:20:46 +01:00 committed by GitHub
parent c9d6e3595c
commit c5cd878382
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
53 changed files with 227 additions and 217 deletions

View file

@ -649,8 +649,7 @@ class FileUploadTests(TestCase):
'Content-Disposition: form-data; name="file_field"; filename="MiXeD_cAsE.txt"',
'Content-Type: application/octet-stream',
'',
'file contents\n'
'',
'file contents\n',
'--%(boundary)s--\r\n',
]
response = self.client.post(