[Lldb-commits] [lldb] [lldb] Revive TestSimulatorPlatform.py (PR #142244)
via lldb-commits
lldb-commits at lists.llvm.org
Wed Jun 4 14:51:49 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/packages/Python/lldbsuite/test/decorators.py lldb/test/API/macosx/simulator/TestSimulatorPlatform.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- packages/Python/lldbsuite/test/decorators.py 2025-06-04 21:49:00.000000 +0000
+++ packages/Python/lldbsuite/test/decorators.py 2025-06-04 21:51:21.354077 +0000
@@ -488,11 +488,10 @@
["xcrun", "simctl", "list", "-j", "devices"]
).decode("utf-8")
sim_devices = json.loads(sim_devices_str)["devices"]
for simulator in sim_devices:
-
if isinstance(simulator, dict):
runtime = simulator["name"]
devices = simulator["devices"]
else:
runtime = simulator
``````````
</details>
https://github.com/llvm/llvm-project/pull/142244
More information about the lldb-commits
mailing list