[Lldb-commits] [lldb] Fix flake in TestZerothFrame.py (PR #96685)

via lldb-commits lldb-commits at lists.llvm.org
Tue Jul 2 00:25:00 PDT 2024


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 7c83b7ef1796210451b839f4c58f2815f4aedfe5...e3d44a2fed3d4129e245d5695c3af0c21bb7b329 lldb/test/API/functionalities/unwind/zeroth_frame/TestZerothFrame.py
``````````

</details>

<details>
<summary>
View the diff from darker here.
</summary>

``````````diff
--- TestZerothFrame.py	2024-07-01 21:17:03.000000 +0000
+++ TestZerothFrame.py	2024-07-02 07:24:38.100392 +0000
@@ -39,12 +39,16 @@
         exe = self.getBuildArtifact("a.out")
         target = self.dbg.CreateTarget(exe)
         self.assertTrue(target, VALID_TARGET)
 
         main_dot_c = lldb.SBFileSpec("main.c")
-        bp1 = target.BreakpointCreateBySourceRegex("// Set breakpoint 1 here", main_dot_c)
-        bp2 = target.BreakpointCreateBySourceRegex("// Set breakpoint 2 here", main_dot_c)
+        bp1 = target.BreakpointCreateBySourceRegex(
+            "// Set breakpoint 1 here", main_dot_c
+        )
+        bp2 = target.BreakpointCreateBySourceRegex(
+            "// Set breakpoint 2 here", main_dot_c
+        )
 
         process = target.LaunchSimple(None, None, self.get_process_working_directory())
         self.assertTrue(process, VALID_PROCESS)
 
         thread = self.thread()

``````````

</details>


https://github.com/llvm/llvm-project/pull/96685


More information about the lldb-commits mailing list