summaryrefslogtreecommitdiffstats
path: root/lldb/test/expression_command/radar_9673664/TestExprHelpExamples.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/expression_command/radar_9673664/TestExprHelpExamples.py')
-rw-r--r--lldb/test/expression_command/radar_9673664/TestExprHelpExamples.py10
1 files changed, 2 insertions, 8 deletions
diff --git a/lldb/test/expression_command/radar_9673664/TestExprHelpExamples.py b/lldb/test/expression_command/radar_9673664/TestExprHelpExamples.py
index 58f04554ed6..c412bce7c49 100644
--- a/lldb/test/expression_command/radar_9673664/TestExprHelpExamples.py
+++ b/lldb/test/expression_command/radar_9673664/TestExprHelpExamples.py
@@ -2,8 +2,9 @@
Test example snippets from the lldb 'help expression' output.
"""
+import lldb_shared
+
import os, time
-import unittest2
import lldb
from lldbtest import *
import lldbutil
@@ -36,10 +37,3 @@ class Radar9673644TestCase(TestBase):
substrs = ["'f'"])
# runCmd: expr char c[] = "foo"; c[0]
# output: (char) $0 = 'f'
-
-
-if __name__ == '__main__':
- import atexit
- lldb.SBDebugger.Initialize()
- atexit.register(lambda: lldb.SBDebugger.Terminate())
- unittest2.main()
OpenPOWER on IntegriCloud