diff options
Diffstat (limited to 'lldb/test/python_api/symbol-context/TestSymbolContext.py')
| -rw-r--r-- | lldb/test/python_api/symbol-context/TestSymbolContext.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lldb/test/python_api/symbol-context/TestSymbolContext.py b/lldb/test/python_api/symbol-context/TestSymbolContext.py index a1e1a806f05..6213490aea9 100644 --- a/lldb/test/python_api/symbol-context/TestSymbolContext.py +++ b/lldb/test/python_api/symbol-context/TestSymbolContext.py @@ -65,9 +65,8 @@ class SymbolContextAPITestCase(TestBase): # 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() |

