fix decorator
authorAdrian Prantl <aprantl@apple.com>
Tue, 16 Nov 2021 17:17:32 +0000 (09:17 -0800)
committerAdrian Prantl <aprantl@apple.com>
Tue, 16 Nov 2021 17:17:47 +0000 (09:17 -0800)
lldb/test/API/commands/expression/weak_symbols/TestWeakSymbols.py

index bd7173d..09d998b 100644 (file)
@@ -7,7 +7,7 @@ absent weak symbols from a dylib.
 
 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."""