Skip to content

Commit f36a3ad

Browse files
committed
Applying format.
1 parent abb7aad commit f36a3ad

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

lldb/packages/Python/lldbsuite/test/tools/lldb-dap/dap_server.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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

13221323
class 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

lldb/test/API/tools/lldb-dap/console/TestDAP_console.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff 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
)

0 commit comments

Comments
 (0)