Skip to content

Commit 0f7b422

Browse files
committed
Clean up test decorators (NFC)
(cherry picked from commit 6e0815d)
1 parent 9b30763 commit 0f7b422

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lldb/test/API/repl/cpp_exceptions/TestSwiftCPPExceptionsInREPL.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
import swift
1414
import lldbsuite.test.lldbutil as lldbutil
1515
from lldbsuite.test.lldbtest import *
16-
from lldbsuite.test import decorators
16+
from lldbsuite.test.decorators import *
1717

1818

1919
class TestSwiftREPLExceptions(TestBase):
@@ -23,17 +23,17 @@ class TestSwiftREPLExceptions(TestBase):
2323
# each debug info format.
2424
NO_DEBUG_INFO_TESTCASE = True
2525

26-
@decorators.skipUnlessDarwin
27-
@decorators.swiftTest
26+
@skipUnlessDarwin
27+
@swiftTest
2828
def test_set_repl_mode_exceptions(self):
2929
""" Test that SetREPLMode turns off trapping exceptions."""
3030
return
3131
self.build()
3232
self.main_source_file = lldb.SBFileSpec("main.swift")
3333
self.do_repl_mode_test()
3434

35-
@decorators.skipUnlessDarwin
36-
@decorators.swiftTest
35+
@skipUnlessDarwin
36+
@swiftTest
3737
def test_repl_exceptions(self):
3838
""" Test the lldb --repl turns off trapping exceptions."""
3939
self.build()
@@ -43,7 +43,7 @@ def setUp(self):
4343
# Call super's setUp().
4444
TestBase.setUp(self)
4545

46-
@decorators.skipIfRemote
46+
@skipIfRemote
4747
def do_repl_test(self):
4848
sdk_root = ""
4949
with open(self.getBuildArtifact("sdkroot.txt"), 'r') as f:

0 commit comments

Comments
 (0)