Convert the rest of the test suite to use the lldbutil.get_description() utility function.
llvm-svn: 130041
diff --git a/lldb/test/python_api/symbol-context/TestSymbolContext.py b/lldb/test/python_api/symbol-context/TestSymbolContext.py
index a1e1a80..6213490 100644
--- a/lldb/test/python_api/symbol-context/TestSymbolContext.py
+++ b/lldb/test/python_api/symbol-context/TestSymbolContext.py
@@ -65,9 +65,8 @@
# Get the description of this module.
module = context.GetModule()
- stream = lldb.SBStream()
- module.GetDescription(stream)
- self.expect(stream.GetData(), "The module should match", exe=False,
+ desc = lldbutil.get_description(module)
+ self.expect(desc, "The module should match", exe=False,
substrs = [os.path.join(self.mydir, 'a.out')])
compileUnit = context.GetCompileUnit()