mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
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:
@@ -129,8 +129,7 @@ class TestFormField(SimpleTestCase):
|
||||
|
||||
class TestSerialization(SimpleTestCase):
|
||||
test_data = (
|
||||
'[{"fields": {"value": %s}, '
|
||||
'"model": "model_fields.jsonmodel", "pk": null}]'
|
||||
'[{"fields": {"value": %s}, "model": "model_fields.jsonmodel", "pk": null}]'
|
||||
)
|
||||
test_values = (
|
||||
# (Python value, serialized value),
|
||||
|
||||
Reference in New Issue
Block a user