[Lldb-commits] [lldb] db5b960 - fix decorator

Adrian Prantl via lldb-commits lldb-commits at lists.llvm.org
Tue Nov 16 09:17:55 PST 2021


Author: Adrian Prantl
Date: 2021-11-16T09:17:47-08:00
New Revision: db5b960e2dd5b2c2eac1973345d162245efc1f39

URL: https://github.com/llvm/llvm-project/commit/db5b960e2dd5b2c2eac1973345d162245efc1f39
DIFF: https://github.com/llvm/llvm-project/commit/db5b960e2dd5b2c2eac1973345d162245efc1f39.diff

LOG: fix decorator

Added: 
    

Modified: 
    lldb/test/API/commands/expression/weak_symbols/TestWeakSymbols.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/commands/expression/weak_symbols/TestWeakSymbols.py b/lldb/test/API/commands/expression/weak_symbols/TestWeakSymbols.py
index bd7173df5cca..09d998b98748 100644
--- a/lldb/test/API/commands/expression/weak_symbols/TestWeakSymbols.py
+++ b/lldb/test/API/commands/expression/weak_symbols/TestWeakSymbols.py
@@ -7,7 +7,7 @@
 
 import os
 import lldb
-from lldbsuite.test import decorators
+from lldbsuite.test.decorators import *
 import lldbsuite.test.lldbutil as lldbutil
 from lldbsuite.test.lldbtest import *
 
@@ -18,7 +18,7 @@ class TestWeakSymbolsInExpressions(TestBase):
 
     NO_DEBUG_INFO_TESTCASE = True
 
-    @decorators.skipUnlessDarwin
+    @skipUnlessDarwin
     @skipIf(compiler="clang", compiler_version=['<', '7.0'])
     def test_weak_symbol_in_expr(self):
         """Tests that we can refer to weak symbols in expressions."""


        


More information about the lldb-commits mailing list