From d96bf9d522369eaf4ad57e607f134e51084ee1ad Mon Sep 17 00:00:00 2001 From: Riley Bruins Date: Wed, 14 Feb 2024 09:39:59 -0800 Subject: fix(python): better try-except indentation (#6097) --- tests/indent/python_spec.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/indent/python_spec.lua') diff --git a/tests/indent/python_spec.lua b/tests/indent/python_spec.lua index ec44d551c..193b9901e 100644 --- a/tests/indent/python_spec.lua +++ b/tests/indent/python_spec.lua @@ -39,6 +39,7 @@ describe("indent Python:", function() run:new_line("control_flow.py", { on_line = 24, text = "c < 6 and", indent = 7 }) run:new_line("control_flow.py", { on_line = 26, text = "x = 4", indent = 4 }) run:new_line("control_flow.py", { on_line = 28, text = "x = 4", indent = 4 }) + run:new_line("control_flow.py", { on_line = 31, text = "try:", indent = 4 }) run:new_line("branches.py", { on_line = 25, text = "x > 9 and", indent = 4 }) run:new_line("branches.py", { on_line = 29, text = "and x > 9", indent = 4 }) run:new_line("hanging_indent.py", { on_line = 1, text = "arg0,", indent = 4 }) -- cgit v1.2.3-70-g09d2