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 
ac4b6b662630cd4d3bf6929f2b39ea203c0054a1...3ad75f024eec22f2dfd0ae7cc911f6d70202932d
 lldb/test/API/riscv/expressions/TestExpressions.py
``````````

</details>

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

``````````diff
--- TestExpressions.py  2024-07-17 14:07:09.000000 +0000
+++ TestExpressions.py  2024-07-17 15:11:09.239265 +0000
@@ -7,22 +7,21 @@
 from lldbsuite.test.lldbtest import *
 from lldbsuite.test import lldbutil
 
 
 class TestExpressions(TestBase):
-
     def common_setup(self):
         self.build()
         lldbutil.run_to_source_breakpoint(
             self, "// break here", lldb.SBFileSpec("main.cpp")
         )
 
     @skipIf(archs=no_match(["rv64gc"]))
     def test_int_arg(self):
         self.common_setup()
         self.expect_expr("foo(foo(5), foo())", result_type="int", 
result_value="8")
-    
+
     @skipIf(archs=no_match(["rv64gc"]))
     def test_double_arg(self):
         self.common_setup()
         self.expect(
             "expr func_with_double_arg(1, 6.5)",
@@ -32,11 +31,11 @@
 
     @skipIf(archs=no_match(["rv64gc"]))
     def test_ptr_arg(self):
         self.common_setup()
         self.expect(
-            "expr func_with_ptr_arg(\"bla\")",
+            'expr func_with_ptr_arg("bla")',
             error=True,
             substrs=["Architecture passes failure on function $__lldb_expr"],
         )
 
     @skipIf(archs=no_match(["rv64gc"]))
@@ -83,6 +82,5 @@
         self.expect(
             "expr func_with_unsupported_struct_return()",
             error=True,
             substrs=["Architecture passes failure on function $__lldb_expr"],
         )
-     

``````````

</details>


https://github.com/llvm/llvm-project/pull/99336
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to