[Lldb-commits] [lldb] [lldb][test] Consolidate generic and libcxx std::deque formatter tests (PR #146697)

via lldb-commits lldb-commits at lists.llvm.org
Wed Jul 2 06:57:15 PDT 2025


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 HEAD~1...HEAD lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/deque/TestDataFormatterGenericDeque.py
``````````

</details>

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

``````````diff
--- TestDataFormatterGenericDeque.py	2025-07-02 13:51:05.000000 +0000
+++ TestDataFormatterGenericDeque.py	2025-07-02 13:56:45.059767 +0000
@@ -119,13 +119,11 @@
             )
 
         lldbutil.continue_to_breakpoint(process, bkpt)
 
         # first value added
-        self.expect(
-            "frame variable empty", substrs=["empty = size=1", "[0] = 1", "}"]
-        )
+        self.expect("frame variable empty", substrs=["empty = size=1", "[0] = 1", "}"])
 
         # add remaining values
         lldbutil.continue_to_breakpoint(process, bkpt)
 
         self.check_numbers("empty")

``````````

</details>


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


More information about the lldb-commits mailing list