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 
34bf9dd6d39cb2bf75731cea7a26c3563720cb67...284853a9b9c2d2a38dcfb2a1acb0caed523d8e75
 lldb/test/API/commands/target/basic/TestTargetCommand.py
``````````

</details>

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

``````````diff
--- TestTargetCommand.py        2024-11-08 12:16:59.000000 +0000
+++ TestTargetCommand.py        2024-11-08 12:20:49.909224 +0000
@@ -415,11 +415,11 @@
                 ": (No such file or directory|The system cannot find the file 
specified)",
             ],
         )
 
     # Write only files don't seem to be supported on Windows.
-    @skipIf(hostoslist=['windows'])
+    @skipIf(hostoslist=["windows"])
     @no_debug_info_test
     def test_target_create_unreadable_core_file(self):
         tf = tempfile.NamedTemporaryFile()
         os.chmod(tf.name, stat.S_IWRITE)
         self.expect(
@@ -438,22 +438,22 @@
                 "Cannot open '",
                 ": (No such file or directory|The system cannot find the file 
specified)",
             ],
         )
 
-    @skipIf(hostoslist=['windows'])
+    @skipIf(hostoslist=["windows"])
     @no_debug_info_test
     def test_target_create_invalid_core_file(self):
         invalid_core_path = os.path.join(self.getSourceDir(), 
"invalid_core_file")
         self.expect(
             "target create -c '" + invalid_core_path + "'",
             error=True,
             substrs=["Unknown core file format '"],
         )
 
     # Write only files don't seem to be supported on Windows.
-    @skipIf(hostoslist=['windows'])
+    @skipIf(hostoslist=["windows"])
     @no_debug_info_test
     def test_target_create_unreadable_sym_file(self):
         tf = tempfile.NamedTemporaryFile()
         os.chmod(tf.name, stat.S_IWRITE)
         self.expect(

``````````

</details>


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

Reply via email to