Revert "[GVN] MemorySSA for GVN: add optional `AllowMemorySSA`"
[llvm-project.git] / lldb / test / API / python_api / sberror / TestSBError.py
blob6ba6076e31db45384164e7f9cee3230e4cda2a5b
1 """Test the SBError APIs."""
3 from lldbsuite.test.lldbtest import *
6 class TestSBError(TestBase):
7 NO_DEBUG_INFO_TESTCASE = True
9 def test_generic_error(self):
10 error = lldb.SBError()
11 error.SetErrorToGenericError()
12 self.assertEqual(error.GetType(), lldb.eErrorTypeGeneric)