[Lldb-commits] [lldb] [lldb][test] Add missing decorators import to TestSynthesizedPropertyAccessor (PR #224501)

via lldb-commits lldb-commits at lists.llvm.org
Thu Sep 17 20:03:25 PDT 2026


llvmorg-github-actions[bot] wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lldb

Author: Cyrus Ding (dingcyrus)

<details>
<summary>Changes</summary>

The skipIf decorator added in #<!-- -->224468 lives in lldbsuite.test.decorators, which the test does not import, so importing the module fails with 'NameError: name skipIf is not defined'. This breaks check-lldb on main and on every open PR.

Add the standard 'from lldbsuite.test.decorators import *' import used by the other objc API tests.

---
Full diff: https://github.com/llvm/llvm-project/pull/224501.diff


1 Files Affected:

- (modified) lldb/test/API/lang/objc/synthesized-property-accessor/TestSynthesizedPropertyAccessor.py (+1) 


``````````diff
diff --git a/lldb/test/API/lang/objc/synthesized-property-accessor/TestSynthesizedPropertyAccessor.py b/lldb/test/API/lang/objc/synthesized-property-accessor/TestSynthesizedPropertyAccessor.py
index 540e19e9071cf..e5774756f8937 100644
--- a/lldb/test/API/lang/objc/synthesized-property-accessor/TestSynthesizedPropertyAccessor.py
+++ b/lldb/test/API/lang/objc/synthesized-property-accessor/TestSynthesizedPropertyAccessor.py
@@ -3,6 +3,7 @@
 """
 
 import lldb
+from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbtest import *
 from lldbsuite.test import lldbutil
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/224501


More information about the lldb-commits mailing list