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/functionalities/multi-breakpoint/TestMultiBreakpoint.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
--- TestMultiBreakpoint.py      2026-05-05 13:48:08.000000 +0000
+++ TestMultiBreakpoint.py      2026-05-05 13:59:34.975551 +0000
@@ -15,11 +15,10 @@
 @skipIfWindows  # No server on Windows.
 @skipIfOutOfTreeDebugserver
 # Runs on systems where we can always predict the software break size
 @skipIf(archs=no_match(["x86_64", "arm64", "aarch64"]))
 class TestMultiBreakpoint(TestBase):
-
     NO_DEBUG_INFO_TESTCASE = True
 
     def check_invalid_packet(self, packet_str):
         reply = lldbutil.send_packet_get_reply(self, packet_str)
         if reply.startswith("E"):
@@ -155,11 +154,13 @@
         self.assertMultiResponse(reply, ["OK", "OK"])
 
         # Clean up both.
         array = [f"z0,{addr_a},{bp_kind}", f"z0,{addr_a},{bp_kind}"]
         reply = self.send_packet(make_packet(array))
-        self.assertMultiResponse(reply, ["OK", "OK" if 
breakpoints_are_refcounted else "error"])
+        self.assertMultiResponse(
+            reply, ["OK", "OK" if breakpoints_are_refcounted else "error"]
+        )
 
         # --- Set the same breakpoint twice, but remove it thrice.
         array = [f"Z0,{addr_a},{bp_kind}", f"Z0,{addr_a},{bp_kind}"]
         reply = self.send_packet(make_packet(array))
         self.assertMultiResponse(reply, ["OK", "OK"])
@@ -167,11 +168,13 @@
             f"z0,{addr_a},{bp_kind}",
             f"z0,{addr_a},{bp_kind}",
             f"z0,{addr_a},{bp_kind}",
         ]
         reply = self.send_packet(make_packet(array))
-        self.assertMultiResponse(reply, ["OK", "OK" if 
breakpoints_are_refcounted else "error", "error"])
+        self.assertMultiResponse(
+            reply, ["OK", "OK" if breakpoints_are_refcounted else "error", 
"error"]
+        )
 
         # --- Set and remove the same address in a single packet ---
         # The spec requires requests to be executed in order, so the set
         # should succeed and the subsequent remove should find and clear it.
         array = [f"Z0,{addr_a},{bp_kind}", f"z0,{addr_a},{bp_kind}"]

``````````

</details>


https://github.com/llvm/llvm-project/pull/195858
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to