File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed
packages/Python/lldbsuite/test/tools/lldb-dap
test/API/tools/lldb-dap/console Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -1306,7 +1306,7 @@ def terminate(self):
13061306 process = self .process
13071307 self .process = None
13081308 try :
1309- # When we close stdin it should signal the lldb-dap that no
1309+ # When we close stdin it should signal the lldb-dap that no
13101310 # new messages will arrive and it should shutdown on its own.
13111311 process .stdin .close ()
13121312 process .wait (timeout = 20 )
@@ -1317,11 +1317,11 @@ def terminate(self):
13171317 raise DebugAdapterProcessError (process .returncode )
13181318
13191319
1320- class DebugAdapterError (Exception ): pass
1320+ class DebugAdapterError (Exception ):
1321+ pass
13211322
13221323class DebugAdapterProcessError (DebugAdapterError ):
1323- """Raised when the lldb-dap process exits with a non-zero exit status.
1324- """
1324+ """Raised when the lldb-dap process exits with a non-zero exit status."""
13251325
13261326 def __init__ (self , returncode ):
13271327 self .returncode = returncode
Original file line number Diff line number Diff line change @@ -176,10 +176,12 @@ def test_diagnositcs(self):
176176 f"target create --core { core } " , context = "repl"
177177 )
178178
179- diag_message = self .collect_important (timeout_secs = self .timeoutval , pattern = "minidump file" )
179+ diagnostics = self .collect_important (
180+ timeout_secs = self .timeoutval , pattern = "minidump file"
181+ )
180182
181183 self .assertIn (
182184 "warning: unable to retrieve process ID from minidump file" ,
183- diag_message ,
185+ diagnostics ,
184186 "diagnostic found in important output" ,
185187 )
You can’t perform that action at this time.
0 commit comments