summaryrefslogtreecommitdiffstats
path: root/lldb/test/python_api/function_symbol/TestSymbolAPI.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/python_api/function_symbol/TestSymbolAPI.py')
-rw-r--r--lldb/test/python_api/function_symbol/TestSymbolAPI.py10
1 files changed, 2 insertions, 8 deletions
diff --git a/lldb/test/python_api/function_symbol/TestSymbolAPI.py b/lldb/test/python_api/function_symbol/TestSymbolAPI.py
index b363c1aaaed..1d7a428ddf4 100644
--- a/lldb/test/python_api/function_symbol/TestSymbolAPI.py
+++ b/lldb/test/python_api/function_symbol/TestSymbolAPI.py
@@ -2,9 +2,10 @@
Test newly added SBSymbol and SBAddress APIs.
"""
+import lldb_shared
+
import os, time
import re
-import unittest2
import lldb, lldbutil
from lldbtest import *
@@ -75,10 +76,3 @@ class SymbolAPITestCase(TestBase):
if self.TraceOn():
print "UUID:", addr_line1.GetModule().GetUUIDString()
self.assertTrue(addr_line1.GetModule().GetUUIDString() == addr_line2.GetModule().GetUUIDString())
-
-
-if __name__ == '__main__':
- import atexit
- lldb.SBDebugger.Initialize()
- atexit.register(lambda: lldb.SBDebugger.Terminate())
- unittest2.main()
OpenPOWER on IntegriCloud