summaryrefslogtreecommitdiff
path: root/tests/forms_tests
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2022-02-03 11:20:46 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2022-02-03 11:38:46 +0100
commitd55a1e5809b424907528af42bfdfc2991ef11651 (patch)
tree605247aa8b905c148d6e5f480da3f0d2a2eec586 /tests/forms_tests
parent76c80d96f3828a5a3f66842932a5624674ba99a2 (diff)
[4.0.x] 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], ) Backport of c5cd8783825b5f6384417dac5f3889b4210b7d08 from main.
Diffstat (limited to 'tests/forms_tests')
-rw-r--r--tests/forms_tests/widget_tests/test_multiwidget.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/forms_tests/widget_tests/test_multiwidget.py b/tests/forms_tests/widget_tests/test_multiwidget.py
index 0e5ee8f73f..cb1e9d31c5 100644
--- a/tests/forms_tests/widget_tests/test_multiwidget.py
+++ b/tests/forms_tests/widget_tests/test_multiwidget.py
@@ -212,8 +212,7 @@ class MultiWidgetTest(WidgetTest):
def test_no_whitespace_between_widgets(self):
widget = MyMultiWidget(widgets=(TextInput, TextInput()))
self.check_html(widget, 'code', None, html=(
- '<input type="text" name="code_0">'
- '<input type="text" name="code_1">'
+ '<input type="text" name="code_0"><input type="text" name="code_1">'
), strict=True)
def test_deepcopy(self):