diff options
Diffstat (limited to 'lldb/test/python_api/interpreter/TestCommandInterpreterAPI.py')
-rw-r--r-- | lldb/test/python_api/interpreter/TestCommandInterpreterAPI.py | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/lldb/test/python_api/interpreter/TestCommandInterpreterAPI.py b/lldb/test/python_api/interpreter/TestCommandInterpreterAPI.py index b617a617e87..1f5171d1018 100644 --- a/lldb/test/python_api/interpreter/TestCommandInterpreterAPI.py +++ b/lldb/test/python_api/interpreter/TestCommandInterpreterAPI.py @@ -1,7 +1,8 @@ """Test the SBCommandInterpreter APIs.""" +import lldb_shared + import os -import unittest2 import lldb from lldbtest import * @@ -68,10 +69,3 @@ class CommandInterpreterAPICase(TestBase): if self.TraceOn(): lldbutil.print_stacktraces(process) - - -if __name__ == '__main__': - import atexit - lldb.SBDebugger.Initialize() - atexit.register(lambda: lldb.SBDebugger.Terminate()) - unittest2.main() |