summaryrefslogtreecommitdiffstats
path: root/lldb/test/python_api/lldbutil/iter/TestLLDBIterator.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/python_api/lldbutil/iter/TestLLDBIterator.py')
-rw-r--r--lldb/test/python_api/lldbutil/iter/TestLLDBIterator.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/lldb/test/python_api/lldbutil/iter/TestLLDBIterator.py b/lldb/test/python_api/lldbutil/iter/TestLLDBIterator.py
index 124f7031597..c8ee37c1661 100644
--- a/lldb/test/python_api/lldbutil/iter/TestLLDBIterator.py
+++ b/lldb/test/python_api/lldbutil/iter/TestLLDBIterator.py
@@ -2,9 +2,10 @@
Test the iteration protocol for some lldb container objects.
"""
+import lldb_shared
+
import os, time
import re
-import unittest2
import lldb
from lldbtest import *
@@ -117,9 +118,3 @@ class LLDBIteratorTestCase(TestBase):
print frame
self.assertTrue(stopped_due_to_breakpoint)
-
-if __name__ == '__main__':
- import atexit
- lldb.SBDebugger.Initialize()
- atexit.register(lambda: lldb.SBDebugger.Terminate())
- unittest2.main()
OpenPOWER on IntegriCloud