1"""Test the SBError APIs.""" 2 3from lldbsuite.test.lldbtest import * 4 5class TestSBError(TestBase): 6 NO_DEBUG_INFO_TESTCASE = True 7 8 def test_generic_error(self): 9 error = lldb.SBError() 10 error.SetErrorToGenericError() 11 self.assertEqual(error.GetType(), lldb.eErrorTypeGeneric) 12