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/packages/Python/lldbsuite/test/skip_reason.py
lldb/packages/Python/lldbsuite/test/decorators.py
lldb/packages/Python/lldbsuite/test/dotest.py
lldb/packages/Python/lldbsuite/test/test_result.py
lldb/test/API/attach/TestWindowsAttachBreakpoint.py
lldb/test/API/linux/aarch64/aarch32_compat/TestAArch64LinuxAArch32Compat.py
lldb/test/API/linux/aarch64/fpmr/TestAArch64LinuxFPMR.py
lldb/test/API/linux/aarch64/gcs/TestAArch64LinuxGCS.py
lldb/test/API/linux/aarch64/mte_memory_region/TestAArch64LinuxMTEMemoryRegion.py
lldb/test/API/linux/aarch64/mte_tag_access/TestAArch64LinuxMTEMemoryTagAccess.py
lldb/test/API/linux/aarch64/mte_tag_faults/TestAArch64LinuxMTEMemoryTagFaults.py
lldb/test/API/linux/aarch64/non_address_bit_code_break/TestAArch64LinuxNonAddressBitCodeBreak.py
lldb/test/API/linux/aarch64/non_address_bit_memory_access/TestAArch64LinuxNonAddressBitMemoryAccess.py
lldb/test/API/linux/aarch64/permission_overlay/TestAArch64LinuxPOE.py
lldb/test/API/linux/aarch64/tagged_memory_access/TestAArch64LinuxTaggedMemoryAccess.py
lldb/test/API/linux/aarch64/tagged_memory_region/TestAArch64LinuxTaggedMemoryRegion.py
lldb/test/API/linux/aarch64/tls_registers/TestAArch64LinuxTLSRegisters.py
lldb/test/API/linux/aarch64/unwind_signal/TestUnwindSignal.py
lldb/test/API/linux/add-symbols/TestTargetSymbolsAddCommand.py
lldb/test/API/linux/arm/tls_register/TestArmLinuxTLSRegister.py
lldb/test/API/linux/linker-symbols/TestLinkerSymbols.py
lldb/test/API/linux/loongarch64/simd_registers/TestLoongArch64LinuxSIMDRegisters.py
lldb/test/API/linux/mix-dwo-and-regular-objects/TestMixedDwarfBinary.py
lldb/test/API/linux/sepdebugsymlink/TestTargetSymbolsSepDebugSymlink.py
lldb/test/API/linux/thread/create_during_instruction_step/TestCreateDuringInstructionStep.py
lldb/test/API/lldbtest.py lldb/test/API/macosx/add-dsym/TestAddDsymDownload.py
lldb/test/API/macosx/add-dsym/TestAddDsymMidExecutionCommand.py
lldb/test/API/macosx/arm-pointer-metadata-cfa-dwarf-expr/TestArmPointerMetadataCFADwarfExpr.py
lldb/test/API/macosx/bss-only-data-section-sliding/TestBSSOnlyDataSectionSliding.py
lldb/test/API/macosx/corefile-exception-reason/TestCorefileExceptionReason.py
lldb/test/API/macosx/ctf/TestCTF.py
lldb/test/API/macosx/debugserver-exit-code/TestDebugServerExitCode.py
lldb/test/API/macosx/debugserver-multimemread/TestDebugserverMultiMemRead.py
lldb/test/API/macosx/delay-init-dependency/TestDelayInitDependency.py
lldb/test/API/macosx/deny-attach/TestDenyAttach.py
lldb/test/API/macosx/dsym_codesign/TestdSYMCodesign.py
lldb/test/API/macosx/dsym_modules/TestdSYMModuleInit.py
lldb/test/API/macosx/dyld-trie-symbols/TestDyldTrieSymbols.py
lldb/test/API/macosx/early-process-launch/TestEarlyProcessLaunch.py
lldb/test/API/macosx/expedited-stack-memory/TestExpeditedStackMemory.py
lldb/test/API/macosx/expedited-thread-pcs/TestExpeditedThreadPCs.py
lldb/test/API/macosx/extended-backtrace-api/TestExtendedBacktraceAPI.py
lldb/test/API/macosx/find-app-in-bundle/TestFindAppInBundle.py
lldb/test/API/macosx/find-dsym/bundle-with-dot-in-filename/TestBundleWithDotInFilename.py
lldb/test/API/macosx/find-dsym/deep-bundle/TestDeepBundle.py
lldb/test/API/macosx/format/TestFunctionNameWithoutArgs.py
lldb/test/API/macosx/function-starts/TestFunctionStarts.py
lldb/test/API/macosx/ignore_exceptions/TestIgnoredExceptions.py
lldb/test/API/macosx/indirect_symbol/TestIndirectSymbols.py
lldb/test/API/macosx/lc-note/additional-registers/TestMetadataRegisters.py
lldb/test/API/macosx/lc-note/addrable-bits/TestAddrableBitsCorefile.py
lldb/test/API/macosx/lc-note/firmware-corefile/TestFirmwareCorefiles.py
lldb/test/API/macosx/lc-note/kern-ver-str/TestKernVerStrLCNOTE.py
lldb/test/API/macosx/lc-note/multiple-binary-corefile/TestMultipleBinaryCorefile.py
lldb/test/API/macosx/macCatalyst/TestMacCatalyst.py
lldb/test/API/macosx/macCatalystAppMacOSFramework/TestMacCatalystAppWithMacOSFramework.py
lldb/test/API/macosx/mte/TestDarwinMTE.py
lldb/test/API/macosx/no-nlist-memory-module/TestNoNlistsDylib.py
lldb/test/API/macosx/nslog/TestDarwinNSLogOutput.py
lldb/test/API/macosx/objc_exception_recognizer/TestObjCRecognizer.py
lldb/test/API/macosx/order/TestOrderFile.py
lldb/test/API/macosx/posix_spawn/TestLaunchProcessPosixSpawn.py
lldb/test/API/macosx/profile_vrs_detach/TestDetachVrsProfile.py
lldb/test/API/macosx/queues/TestQueues.py
lldb/test/API/macosx/safe-to-func-call/TestSafeFuncCalls.py
lldb/test/API/macosx/save_crashlog/TestSaveCrashlog.py
lldb/test/API/macosx/shared-cache-host-memory/TestSharedCacheHostMemory.py
lldb/test/API/macosx/shared-cache-vm-range/TestSharedCacheVMRange.py
lldb/test/API/macosx/simulator/TestSimulatorPlatform.py
lldb/test/API/macosx/skinny-corefile/TestSkinnyCorefile.py
lldb/test/API/macosx/sme-registers/TestSMERegistersDarwin.py
lldb/test/API/macosx/stack-corefile/TestStackCorefile.py
lldb/test/API/macosx/stop-reason-exception/TestMachExceptionData.py
lldb/test/API/macosx/tbi-honored/TestTBIHonored.py
lldb/test/API/macosx/thread-names/TestInterruptThreadNames.py
lldb/test/API/macosx/thread_start_bps/TestBreakpointsThreadInit.py
lldb/test/API/macosx/thread_suspend/TestInternalThreadSuspension.py
lldb/test/API/macosx/universal/TestUniversal.py
lldb/test/API/macosx/universal64/TestUniversal64.py
lldb/test/API/macosx/unregistered-macho/TestUnregisteredMacho.py
lldb/test/API/windows/conpty/TestConPTY.py
lldb/test/API/windows/debug-heap/TestWindowsDebugHeap.py
lldb/test/API/windows/launch/missing-dll/TestMissingDll.py
lldb/test/API/windows/launch/replace-dll/TestReplaceDLL.py
lldb/test/API/windows/msvcrt/TestMSVCRTCException.py
lldb/test/API/windows/thread/TestThreadName.py llvm/utils/lit/lit/reports.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
--- lldb/packages/Python/lldbsuite/test/decorators.py 2026-07-29
12:03:50.000000 +0000
+++ lldb/packages/Python/lldbsuite/test/decorators.py 2026-07-29
12:13:23.742715 +0000
@@ -1242,11 +1242,10 @@
simulator runtimes, dsymutil, the LLDB.framework layout, and so on.
"""
return
requireHostPlatform(lldbplatform.translate(lldbplatform.darwin_all))(func)
-
def skipIfTargetDoesNotSupportThreads():
"""Skip tests that require thread support (e.g. pthreads)."""
platform = lldbplatformutil.getPlatform()
# WASI targets ending in "-threads" (e.g. wasip1-threads) support threads;
# other WASI targets (e.g. wasip1, wasip2) do not.
--- lldb/test/API/lldbtest.py 2026-07-29 12:03:50.000000 +0000
+++ lldb/test/API/lldbtest.py 2026-07-29 12:13:24.902341 +0000
@@ -127,11 +127,13 @@
expected_failures = parsed_details["expected failures"]
unexpected_successes = parsed_details["unexpected successes"]
only_skipped = 0
breakdown = re.search(
- r"^Skip breakdown \(unsupported=(\d+), skipped=(\d+)\)\r?$", err,
re.MULTILINE
+ r"^Skip breakdown \(unsupported=(\d+), skipped=(\d+)\)\r?$",
+ err,
+ re.MULTILINE,
)
if breakdown:
only_skipped = int(breakdown.group(2))
non_pass = (
``````````
</details>
https://github.com/llvm/llvm-project/pull/212753
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits