summaryrefslogtreecommitdiffstats
path: root/lldb/test/expression_command/call-throws/TestCallThatThrows.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/expression_command/call-throws/TestCallThatThrows.py')
-rw-r--r--lldb/test/expression_command/call-throws/TestCallThatThrows.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/test/expression_command/call-throws/TestCallThatThrows.py b/lldb/test/expression_command/call-throws/TestCallThatThrows.py
index 65380cc02db..8d54e268771 100644
--- a/lldb/test/expression_command/call-throws/TestCallThatThrows.py
+++ b/lldb/test/expression_command/call-throws/TestCallThatThrows.py
@@ -19,14 +19,14 @@ class ExprCommandWithThrowTestCase(TestBase):
self.main_source_spec = lldb.SBFileSpec (self.main_source)
- @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
+ @skipUnlessDarwin
@dsym_test
def test_with_dsym(self):
"""Test calling a function that throws and ObjC exception."""
self.buildDsym()
self.call_function()
- @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin due to ObjC test case")
+ @skipUnlessDarwin
@dwarf_test
def test_with_dwarf(self):
"""Test calling a function that throws and ObjC exception."""
OpenPOWER on IntegriCloud