void () { doTestEnter(""" with (foo(),\s foo()<caret>): pass""", """ with (foo(),\s foo() <caret>): pass"""); getPythonCodeStyleSettings().HANG_CLOSING_BRACKETS = false; doTestEnter(""" with ( foo() as baz, foo() as bar<caret>): pass""", """ with ( foo() as baz, foo() as bar ): pass"""); getPythonCodeStyleSettings().HANG_CLOSING_BRACKETS = true; doTestEnter(""" with ( foo() as baz, foo() as bar<caret>): pass""", """ with ( foo() as baz, foo() as bar ): pass"""); }