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/riscv/disassembler/TestDisassembler.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
--- TestDisassembler.py 2025-12-19 16:20:20.000000 +0000
+++ TestDisassembler.py 2025-12-19 16:49:27.279617 +0000
@@ -51,11 +51,13 @@
 
         self.expect("disassemble --name do_zbb_stuff")
         output = self.res.GetOutput()
 
         for instr in self.expected_zbb_instrs:
-            self.assertFalse(instr in output, "Zbb instructions should not be 
disassembled")
+            self.assertFalse(
+                instr in output, "Zbb instructions should not be disassembled"
+            )
 
     @skipIf(archs=no_match("^riscv.*"))
     def test_with_riscv_attributes(self):
         """
         Tests disassembly of a riscv binary with the .riscv.attributes.

``````````

</details>


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

Reply via email to