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/functionalities/postmortem/elf-core/TestLinuxCore.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
--- TestLinuxCore.py    2026-07-20 20:55:52.000000 +0000
+++ TestLinuxCore.py    2026-07-20 20:59:20.343621 +0000
@@ -1457,15 +1457,15 @@
         symlink_path = "/path/prpsinfo_foo"
         self.assertEqual(exe_module.GetFileSpec().fullpath, exe_path)
 
         # Verify that the process info is correct.
         process_info = target.process.GetProcessInfo()
-        self.assertEqual(process_info.GetName(), 'nt_file_foo')
+        self.assertEqual(process_info.GetName(), "nt_file_foo")
         self.assertEqual(process_info.GetArg0(), symlink_path)
         self.assertEqual(process_info.GetExecutableFile().fullpath, exe_path)
         self.assertEqual(process_info.GetNumArguments(), 1)
-        self.assertEqual(process_info.GetArgumentAtIndex(0), '--verbose')
+        self.assertEqual(process_info.GetArgumentAtIndex(0), "--verbose")
         self.dbg.DeleteTarget(target)
 
     @skipIfLLVMTargetMissing("X86")
     @skipIfWindows
     def test_exe_name_extraction_at_execfn(self):
@@ -1486,15 +1486,15 @@
         symlink_path = "/path/prpsinfo_foo"
         self.assertEqual(exe_module.GetFileSpec().fullpath, exe_path)
 
         # Verify that the process info is correct.
         process_info = target.process.GetProcessInfo()
-        self.assertEqual(process_info.GetName(), 'execfn_foo')
+        self.assertEqual(process_info.GetName(), "execfn_foo")
         self.assertEqual(process_info.GetArg0(), symlink_path)
         self.assertEqual(process_info.GetExecutableFile().fullpath, exe_path)
         self.assertEqual(process_info.GetNumArguments(), 1)
-        self.assertEqual(process_info.GetArgumentAtIndex(0), '--verbose')
+        self.assertEqual(process_info.GetArgumentAtIndex(0), "--verbose")
 
         self.dbg.DeleteTarget(target)
 
     @skipIfLLVMTargetMissing("X86")
     @skipIfWindows
@@ -1507,21 +1507,20 @@
         core_path = self.getBuildArtifact("elf-NT_PRPSINFO.core")
         self.yaml2obj(yaml_path, core_path)
         target = self.dbg.CreateTarget(None)
         process = target.LoadCore(core_path)
         exe_module = target.modules[0]
-        exe_path = 'prpsinfo_foo'
+        exe_path = "prpsinfo_foo"
         symlink_path = "/path/prpsinfo_foo"
         self.assertEqual(exe_module.GetFileSpec().fullpath, exe_path)
 
         process_info = target.process.GetProcessInfo()
         self.assertEqual(process_info.GetName(), exe_path)
         self.assertEqual(process_info.GetArg0(), symlink_path)
         self.assertEqual(process_info.GetExecutableFile().fullpath, exe_path)
         self.assertEqual(process_info.GetNumArguments(), 1)
-        self.assertEqual(process_info.GetArgumentAtIndex(0), '--verbose')
-
+        self.assertEqual(process_info.GetArgumentAtIndex(0), "--verbose")
 
         self.dbg.DeleteTarget(target)
 
 
     @skipIfLLVMTargetMissing("X86")

``````````

</details>


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

Reply via email to