github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {darker}-->
:warning: Python code formatter, darker found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
darker --check --diff -r origin/main...HEAD
lldb/test/API/tools/lldb-dap/databreakpoint/TestDAP_setDataBreakpoints.py
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- TestDAP_setDataBreakpoints.py 2026-08-12 15:32:36.000000 +0000
+++ TestDAP_setDataBreakpoints.py 2026-08-12 15:46:49.828866 +0000
@@ -3,11 +3,15 @@
"""
from lldbsuite.test.decorators import requireNotWasm, skipIfWindows
from lldbsuite.test.lldbtest import line_number
from lldbsuite.test.tools.lldb_dap import DAPTestCaseBase
-from lldbsuite.test.tools.lldb_dap.types import DataBreakpoint, LaunchArgs,
StoppedReason
+from lldbsuite.test.tools.lldb_dap.types import (
+ DataBreakpoint,
+ LaunchArgs,
+ StoppedReason,
+)
@requireNotWasm("data breakpoints map to watchpoints")
class TestDAP_setDataBreakpoints(DAPTestCaseBase):
ACCESS_TYPES = ["read", "write", "readWrite"]
@@ -219,11 +223,13 @@
session.set_data_breakpoints([])
resp_body = session.evaluate("`watchpoint list", context="repl")
session.verify_evaluate(resp_body, matches=r".*Watchpoint 1:.*")
# Verify watchpoint from console.
- stop_event =
session.continue_to_next_stop(exp_reason=StoppedReason.DATA_BREAKPOINT)
+ stop_event = session.continue_to_next_stop(
+ exp_reason=StoppedReason.DATA_BREAKPOINT
+ )
self.assertEqual(session.top_frame_from(stop_event).locals["x"].value,
"2")
session.evaluate("`watchpoint delete 1", context="repl")
session.continue_to_exit()
``````````
</details>
https://github.com/llvm/llvm-project/pull/215228
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits