diff options
Diffstat (limited to 'lldb/test/functionalities/format/TestFormats.py')
-rw-r--r-- | lldb/test/functionalities/format/TestFormats.py | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/lldb/test/functionalities/format/TestFormats.py b/lldb/test/functionalities/format/TestFormats.py index 878f276b234..84566ea2fc9 100644 --- a/lldb/test/functionalities/format/TestFormats.py +++ b/lldb/test/functionalities/format/TestFormats.py @@ -2,8 +2,9 @@ Test the command history mechanism """ +import lldb_shared + import os -import unittest2 import lldb from lldbtest import * @@ -54,9 +55,3 @@ class TestFormats(TestBase): # child.sendline('Help__') # child.expect_exact("error: 'Help__' is not a valid command") # child.expect_exact(prompt) - -if __name__ == '__main__': - import atexit - lldb.SBDebugger.Initialize() - atexit.register(lambda: lldb.SBDebugger.Terminate()) - unittest2.main() |