Skip to content

Commit 0c7f1f9

Browse files
committed
[lldb][lldb-dap] format
1 parent 8301349 commit 0c7f1f9

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
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
@@ -1044,10 +1044,10 @@ def request_setFunctionBreakpoints(self, names, condition=None, hitCondition=Non
10441044
def request_dataBreakpointInfo(
10451045
self,
10461046
name: str,
1047-
variablesReference: Optional[int] | None = None,
1048-
frameIndex: Optional[int] = 0,
1049-
bytes_: Optional[int] = None,
1050-
asAddress: Optional[bool] = None,
1047+
variablesReference: Optional[int] | None = None,
1048+
frameIndex: Optional[int] = 0,
1049+
bytes_: Optional[int] = None,
1050+
asAddress: Optional[bool] = None,
10511051
):
10521052
args_dict = {}
10531053
if asAddress is not None:

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def waitUntil(self, condition_callback):
105105
return False
106106

107107
def verify_breakpoint_hit(
108-
self, breakpoint_ids, timeout=DEFAULT_TIMEOUT, reason: Optional[str] = None
108+
self, breakpoint_ids, timeout=DEFAULT_TIMEOUT, reason: Optional[str] = None
109109
):
110110
"""Wait for the process we are debugging to stop, and verify we hit
111111
any breakpoint location in the "breakpoint_ids" array.
@@ -119,9 +119,9 @@ def verify_breakpoint_hit(
119119
if "reason" not in body:
120120
continue
121121
if body["reason"] not in (
122-
"breakpoint",
123-
"instruction breakpoint",
124-
"data breakpoint",
122+
"breakpoint",
123+
"instruction breakpoint",
124+
"data breakpoint",
125125
):
126126
continue
127127
if "description" not in body:
@@ -334,12 +334,12 @@ def continue_to_next_stop(self, timeout=DEFAULT_TIMEOUT):
334334
return self.dap_server.wait_for_stopped(timeout)
335335

336336
def continue_to_breakpoint(
337-
self, breakpoint_id: str, timeout=DEFAULT_TIMEOUT, reason: Optional[str] = None
337+
self, breakpoint_id: str, timeout=DEFAULT_TIMEOUT, reason: Optional[str] = None
338338
):
339339
self.continue_to_breakpoints([breakpoint_id], timeout, reason)
340340

341341
def continue_to_breakpoints(
342-
self, breakpoint_ids, timeout=DEFAULT_TIMEOUT, reason: Optional[str] = None
342+
self, breakpoint_ids, timeout=DEFAULT_TIMEOUT, reason: Optional[str] = None
343343
):
344344
self.do_continue()
345345
self.verify_breakpoint_hit(breakpoint_ids, timeout, reason)

0 commit comments

Comments
 (0)