summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api
diff options
context:
space:
mode:
authorRaphael Isemann <teemperor@gmail.com>2019-08-02 08:06:22 +0000
committerRaphael Isemann <teemperor@gmail.com>2019-08-02 08:06:22 +0000
commit9eedbc4f266d1e49d335d48c4c0f717401d927d2 (patch)
tree1f2d9a6a641434b88aa4ea9a4b59d9d2fcf0aa49 /lldb/packages/Python/lldbsuite/test/python_api
parentf5b91f2a0f9d34f4ba63bc358279c0a5372dfb76 (diff)
downloadbcm5719-llvm-9eedbc4f266d1e49d335d48c4c0f717401d927d2.tar.gz
bcm5719-llvm-9eedbc4f266d1e49d335d48c4c0f717401d927d2.zip
[lldb][NFC] Remove unused imports in python tests
llvm-svn: 367663
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api')
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/breakpoint/TestBreakpointAPI.py3
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/class_members/TestSBTypeClassMembers.py3
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/debugger/TestDebuggerAPI.py1
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py3
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_block.py1
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_breakpointlocation.py1
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_breakpointname.py1
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_broadcaster.py1
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_communication.py1
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_compileunit.py1
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_debugger.py1
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_error.py1
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_event.py1
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_filespec.py1
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_frame.py1
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_function.py1
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_instruction.py1
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_instructionlist.py1
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_lineentry.py1
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_listener.py1
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_process.py1
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_process_info.py1
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_section.py1
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_stringlist.py1
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_symbol.py1
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_symbolcontext.py1
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_target.py1
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_thread.py1
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_type.py1
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_value.py1
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_valuelist.py1
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_watchpoint.py1
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/disassemble-raw-data/TestDisassembleRawData.py2
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/disassemble-raw-data/TestDisassemble_VST1_64.py3
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/event/TestEvents.py2
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/findvalue_duplist/TestSBFrameFindValue.py3
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/formatters/TestFormattersSBAPI.py3
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/frame/TestFrames.py3
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/frame/get-variables/TestGetVariables.py2
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/frame/inlines/TestInlinedFrame.py3
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/function_symbol/TestDisasmAPI.py3
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/function_symbol/TestSymbolAPI.py3
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/hello_world/TestHelloWorld.py2
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestCommandInterpreterAPI.py1
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/lldbutil/frame/TestFrameUtils.py1
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/lldbutil/iter/TestLLDBIterator.py3
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/lldbutil/iter/TestRegistersIterator.py3
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/lldbutil/process/TestPrintStackTraces.py3
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/module_section/TestModuleAndSection.py3
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/name_lookup/TestNameLookup.py3
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/objc_type/TestObjCType.py3
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/process/TestProcessAPI.py2
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/process/io/TestProcessIO.py2
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/rdar-12481949/Test-rdar-12481949.py2
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/sbdata/TestSBData.py1
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/sbstructureddata/TestStructuredDataAPI.py3
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/sbvalue_persist/TestSBValuePersist.py3
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/signals/TestSignalsAPI.py2
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/symbol-context/TestSymbolContext.py3
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/symbol-context/two-files/TestSymbolContextTwoFiles.py1
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py2
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/thread/TestThreadAPI.py2
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/type/TestTypeList.py3
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/value/TestValueAPI.py3
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/value/change_values/TestChangeValueAPI.py3
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/value/empty_class/TestValueAPIEmptyClass.py3
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/value/linked_list/TestValueAPILinkedList.py3
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/value_var_update/TestValueVarUpdate.py4
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/watchpoint/TestSetWatchpoint.py3
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/watchpoint/TestWatchpointIgnoreCount.py3
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/watchpoint/TestWatchpointIter.py3
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/watchpoint/condition/TestWatchpointConditionAPI.py2
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/watchpoint/watchlocation/TestSetWatchlocation.py3
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/watchpoint/watchlocation/TestTargetWatchAddress.py3
74 files changed, 0 insertions, 146 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/breakpoint/TestBreakpointAPI.py b/lldb/packages/Python/lldbsuite/test/python_api/breakpoint/TestBreakpointAPI.py
index 5e21471e7c1..17fb4b0895d 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/breakpoint/TestBreakpointAPI.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/breakpoint/TestBreakpointAPI.py
@@ -5,9 +5,6 @@ Test SBBreakpoint APIs.
from __future__ import print_function
-import os
-import time
-import re
import lldb
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/class_members/TestSBTypeClassMembers.py b/lldb/packages/Python/lldbsuite/test/python_api/class_members/TestSBTypeClassMembers.py
index 074bbc76fd1..960df3f184d 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/class_members/TestSBTypeClassMembers.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/class_members/TestSBTypeClassMembers.py
@@ -5,9 +5,6 @@ Test SBType APIs to fetch member function types.
from __future__ import print_function
-import os
-import time
-import re
import lldb
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/debugger/TestDebuggerAPI.py b/lldb/packages/Python/lldbsuite/test/python_api/debugger/TestDebuggerAPI.py
index fcb17cbb8e7..f6f4377754e 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/debugger/TestDebuggerAPI.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/debugger/TestDebuggerAPI.py
@@ -2,7 +2,6 @@
Test Debugger APIs.
"""
-import os
import lldb
from lldbsuite.test.decorators import *
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py
index 5c0c7bbd766..e48b90e2ee9 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py
@@ -14,9 +14,6 @@ after default construction.
from __future__ import print_function
-import os
-import time
-import re
import lldb
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_block.py b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_block.py
index 00654ca1246..299ca08910c 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_block.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_block.py
@@ -2,7 +2,6 @@
Fuzz tests an object after the default construction to make sure it does not crash lldb.
"""
-import sys
import lldb
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_breakpointlocation.py b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_breakpointlocation.py
index 26bf6f69c5d..5ac1c065efe 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_breakpointlocation.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_breakpointlocation.py
@@ -2,7 +2,6 @@
Fuzz tests an object after the default construction to make sure it does not crash lldb.
"""
-import sys
import lldb
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_breakpointname.py b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_breakpointname.py
index 56016c05c31..b32ed0d11aa 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_breakpointname.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_breakpointname.py
@@ -2,7 +2,6 @@
Fuzz tests an object after the default construction to make sure it does not crash lldb.
"""
-import sys
import lldb
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_broadcaster.py b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_broadcaster.py
index b2f5ab5b2c5..59491a762db 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_broadcaster.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_broadcaster.py
@@ -2,7 +2,6 @@
Fuzz tests an object after the default construction to make sure it does not crash lldb.
"""
-import sys
import lldb
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_communication.py b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_communication.py
index 9793e9be20e..1f5aefbc0d5 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_communication.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_communication.py
@@ -2,7 +2,6 @@
Fuzz tests an object after the default construction to make sure it does not crash lldb.
"""
-import sys
import lldb
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_compileunit.py b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_compileunit.py
index 77fa4694b14..4caef33a75f 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_compileunit.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_compileunit.py
@@ -2,7 +2,6 @@
Fuzz tests an object after the default construction to make sure it does not crash lldb.
"""
-import sys
import lldb
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_debugger.py b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_debugger.py
index ac0f9a8aeb9..16b61091420 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_debugger.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_debugger.py
@@ -2,7 +2,6 @@
Fuzz tests an object after the default construction to make sure it does not crash lldb.
"""
-import sys
import lldb
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_error.py b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_error.py
index 9c0f8d8e6d8..7d14c3e5844 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_error.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_error.py
@@ -2,7 +2,6 @@
Fuzz tests an object after the default construction to make sure it does not crash lldb.
"""
-import sys
import lldb
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_event.py b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_event.py
index 4c24c606fa2..aaf71d03051 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_event.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_event.py
@@ -2,7 +2,6 @@
Fuzz tests an object after the default construction to make sure it does not crash lldb.
"""
-import sys
import lldb
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_filespec.py b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_filespec.py
index 33b4d69cd6a..4ab5c49c37e 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_filespec.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_filespec.py
@@ -2,7 +2,6 @@
Fuzz tests an object after the default construction to make sure it does not crash lldb.
"""
-import sys
import lldb
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_frame.py b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_frame.py
index 4637fc428d8..b81f1af7b0e 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_frame.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_frame.py
@@ -2,7 +2,6 @@
Fuzz tests an object after the default construction to make sure it does not crash lldb.
"""
-import sys
import lldb
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_function.py b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_function.py
index bd9c887e50f..764fb373b62 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_function.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_function.py
@@ -2,7 +2,6 @@
Fuzz tests an object after the default construction to make sure it does not crash lldb.
"""
-import sys
import lldb
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_instruction.py b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_instruction.py
index e0be4132fc0..aca1d8a02b3 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_instruction.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_instruction.py
@@ -2,7 +2,6 @@
Fuzz tests an object after the default construction to make sure it does not crash lldb.
"""
-import sys
import lldb
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_instructionlist.py b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_instructionlist.py
index 8870bf5de47..88fbc065c55 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_instructionlist.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_instructionlist.py
@@ -2,7 +2,6 @@
Fuzz tests an object after the default construction to make sure it does not crash lldb.
"""
-import sys
import lldb
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_lineentry.py b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_lineentry.py
index 9c89792791f..53761a0c1fa 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_lineentry.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_lineentry.py
@@ -2,7 +2,6 @@
Fuzz tests an object after the default construction to make sure it does not crash lldb.
"""
-import sys
import lldb
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_listener.py b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_listener.py
index 5f0ebdae73b..b40cfd4d1c2 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_listener.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_listener.py
@@ -2,7 +2,6 @@
Fuzz tests an object after the default construction to make sure it does not crash lldb.
"""
-import sys
import lldb
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_process.py b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_process.py
index d8c441ece58..eed197a63ef 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_process.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_process.py
@@ -2,7 +2,6 @@
Fuzz tests an object after the default construction to make sure it does not crash lldb.
"""
-import sys
import lldb
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_process_info.py b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_process_info.py
index 020ad4e1066..0c4562f9be9 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_process_info.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_process_info.py
@@ -2,7 +2,6 @@
Fuzz tests an object after the default construction to make sure it does not crash lldb.
"""
-import sys
import lldb
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_section.py b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_section.py
index 4b00276fb4b..d6118186b4b 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_section.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_section.py
@@ -2,7 +2,6 @@
Fuzz tests an object after the default construction to make sure it does not crash lldb.
"""
-import sys
import lldb
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_stringlist.py b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_stringlist.py
index 44111addba5..015de7aa7ac 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_stringlist.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_stringlist.py
@@ -2,7 +2,6 @@
Fuzz tests an object after the default construction to make sure it does not crash lldb.
"""
-import sys
import lldb
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_symbol.py b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_symbol.py
index d2d107a13c2..ce942a9daa4 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_symbol.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_symbol.py
@@ -2,7 +2,6 @@
Fuzz tests an object after the default construction to make sure it does not crash lldb.
"""
-import sys
import lldb
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_symbolcontext.py b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_symbolcontext.py
index ac4392539db..e46e4714be0 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_symbolcontext.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_symbolcontext.py
@@ -2,7 +2,6 @@
Fuzz tests an object after the default construction to make sure it does not crash lldb.
"""
-import sys
import lldb
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_target.py b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_target.py
index af7f17b69e7..3b521dcf6dd 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_target.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_target.py
@@ -2,7 +2,6 @@
Fuzz tests an object after the default construction to make sure it does not crash lldb.
"""
-import sys
import lldb
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_thread.py b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_thread.py
index 3234bf2625e..0e5f9445db0 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_thread.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_thread.py
@@ -2,7 +2,6 @@
Fuzz tests an object after the default construction to make sure it does not crash lldb.
"""
-import sys
import lldb
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_type.py b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_type.py
index 6016a9004ec..54ab482484f 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_type.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_type.py
@@ -2,7 +2,6 @@
Fuzz tests an object after the default construction to make sure it does not crash lldb.
"""
-import sys
import lldb
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_value.py b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_value.py
index f283177425a..9e31a70a79b 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_value.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_value.py
@@ -2,7 +2,6 @@
Fuzz tests an object after the default construction to make sure it does not crash lldb.
"""
-import sys
import lldb
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_valuelist.py b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_valuelist.py
index cbd9810c44e..f20c8775249 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_valuelist.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_valuelist.py
@@ -2,7 +2,6 @@
Fuzz tests an object after the default construction to make sure it does not crash lldb.
"""
-import sys
import lldb
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_watchpoint.py b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_watchpoint.py
index b30d3bb8014..8aa38126ad4 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_watchpoint.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/default-constructor/sb_watchpoint.py
@@ -2,7 +2,6 @@
Fuzz tests an object after the default construction to make sure it does not crash lldb.
"""
-import sys
import lldb
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/disassemble-raw-data/TestDisassembleRawData.py b/lldb/packages/Python/lldbsuite/test/python_api/disassemble-raw-data/TestDisassembleRawData.py
index deb0c7a9fcb..8e2bc4ac45d 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/disassemble-raw-data/TestDisassembleRawData.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/disassemble-raw-data/TestDisassembleRawData.py
@@ -5,8 +5,6 @@ Use lldb Python API to disassemble raw machine code bytes
from __future__ import print_function
-import os
-import time
import re
import lldb
from lldbsuite.test.decorators import *
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/disassemble-raw-data/TestDisassemble_VST1_64.py b/lldb/packages/Python/lldbsuite/test/python_api/disassemble-raw-data/TestDisassemble_VST1_64.py
index 1e1e4d74f41..d171b02f77e 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/disassemble-raw-data/TestDisassemble_VST1_64.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/disassemble-raw-data/TestDisassemble_VST1_64.py
@@ -5,9 +5,6 @@ Use lldb Python API to disassemble raw machine code bytes
from __future__ import print_function
-import os
-import time
-import re
import lldb
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/event/TestEvents.py b/lldb/packages/Python/lldbsuite/test/python_api/event/TestEvents.py
index 82e8f8e0596..d1ec3b2e1ac 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/event/TestEvents.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/event/TestEvents.py
@@ -5,8 +5,6 @@ Test lldb Python event APIs.
from __future__ import print_function
-import os
-import time
import re
import lldb
from lldbsuite.test.decorators import *
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/findvalue_duplist/TestSBFrameFindValue.py b/lldb/packages/Python/lldbsuite/test/python_api/findvalue_duplist/TestSBFrameFindValue.py
index c066dc58003..8de1bec8698 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/findvalue_duplist/TestSBFrameFindValue.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/findvalue_duplist/TestSBFrameFindValue.py
@@ -3,9 +3,6 @@
from __future__ import print_function
-import os
-import sys
-import time
import lldb
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/formatters/TestFormattersSBAPI.py b/lldb/packages/Python/lldbsuite/test/python_api/formatters/TestFormattersSBAPI.py
index 8548506fdc4..1bc52b3e667 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/formatters/TestFormattersSBAPI.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/formatters/TestFormattersSBAPI.py
@@ -3,9 +3,6 @@
from __future__ import print_function
-import os
-import sys
-import time
import lldb
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/frame/TestFrames.py b/lldb/packages/Python/lldbsuite/test/python_api/frame/TestFrames.py
index fc2f03f9e61..91ac30e36e3 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/frame/TestFrames.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/frame/TestFrames.py
@@ -6,9 +6,6 @@ And other SBFrame API tests.
from __future__ import print_function
-import os
-import time
-import re
import lldb
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/frame/get-variables/TestGetVariables.py b/lldb/packages/Python/lldbsuite/test/python_api/frame/get-variables/TestGetVariables.py
index 1bd54c39fa0..7ced4ddb98f 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/frame/get-variables/TestGetVariables.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/frame/get-variables/TestGetVariables.py
@@ -5,8 +5,6 @@ Test that SBFrame::GetVariables() calls work correctly.
from __future__ import print_function
-import os
-import time
import lldb
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/frame/inlines/TestInlinedFrame.py b/lldb/packages/Python/lldbsuite/test/python_api/frame/inlines/TestInlinedFrame.py
index 8b8f81ff4c4..da4e9cb06e7 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/frame/inlines/TestInlinedFrame.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/frame/inlines/TestInlinedFrame.py
@@ -5,9 +5,6 @@ Testlldb Python SBFrame APIs IsInlined() and GetFunctionName().
from __future__ import print_function
-import os
-import time
-import re
import lldb
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/function_symbol/TestDisasmAPI.py b/lldb/packages/Python/lldbsuite/test/python_api/function_symbol/TestDisasmAPI.py
index f657d19764b..2278d69fbbe 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/function_symbol/TestDisasmAPI.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/function_symbol/TestDisasmAPI.py
@@ -5,9 +5,6 @@ Test retrieval of SBAddress from function/symbol, disassembly, and SBAddress API
from __future__ import print_function
-import os
-import time
-import re
import lldb
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/function_symbol/TestSymbolAPI.py b/lldb/packages/Python/lldbsuite/test/python_api/function_symbol/TestSymbolAPI.py
index 6644b81ef2a..56fa73c84ad 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/function_symbol/TestSymbolAPI.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/function_symbol/TestSymbolAPI.py
@@ -5,9 +5,6 @@ Test newly added SBSymbol and SBAddress APIs.
from __future__ import print_function
-import os
-import time
-import re
import lldb
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/hello_world/TestHelloWorld.py b/lldb/packages/Python/lldbsuite/test/python_api/hello_world/TestHelloWorld.py
index e0f4dd6f054..a762dc97e39 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/hello_world/TestHelloWorld.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/hello_world/TestHelloWorld.py
@@ -4,8 +4,6 @@ from __future__ import print_function
import os
-import sys
-import time
import lldb
from lldbsuite.test.decorators import *
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestCommandInterpreterAPI.py b/lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestCommandInterpreterAPI.py
index 2f31b0aebaa..7703d20ed41 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestCommandInterpreterAPI.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestCommandInterpreterAPI.py
@@ -3,7 +3,6 @@
from __future__ import print_function
-import os
import lldb
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/frame/TestFrameUtils.py b/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/frame/TestFrameUtils.py
index 4db6322e751..ec8d1f84ded 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/frame/TestFrameUtils.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/frame/TestFrameUtils.py
@@ -5,7 +5,6 @@ Test utility functions for the frame object.
from __future__ import print_function
-import os
import lldb
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/iter/TestLLDBIterator.py b/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/iter/TestLLDBIterator.py
index a52b00e5fac..52daaf5dc58 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/iter/TestLLDBIterator.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/iter/TestLLDBIterator.py
@@ -5,9 +5,6 @@ Test the iteration protocol for some lldb container objects.
from __future__ import print_function
-import os
-import time
-import re
import lldb
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/iter/TestRegistersIterator.py b/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/iter/TestRegistersIterator.py
index 43ed1c93b51..fbb8bff4128 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/iter/TestRegistersIterator.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/iter/TestRegistersIterator.py
@@ -5,9 +5,6 @@ Test the iteration protocol for frame registers.
from __future__ import print_function
-import os
-import time
-import re
import lldb
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/process/TestPrintStackTraces.py b/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/process/TestPrintStackTraces.py
index 531f30e7af7..805bb315243 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/process/TestPrintStackTraces.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/process/TestPrintStackTraces.py
@@ -5,9 +5,6 @@ Test SBprocess and SBThread APIs with printing of the stack traces using lldbuti
from __future__ import print_function
-import os
-import time
-import re
import lldb
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/module_section/TestModuleAndSection.py b/lldb/packages/Python/lldbsuite/test/python_api/module_section/TestModuleAndSection.py
index 09dfcc5895a..95d457697e7 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/module_section/TestModuleAndSection.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/module_section/TestModuleAndSection.py
@@ -5,9 +5,6 @@ Test some SBModule and SBSection APIs.
from __future__ import print_function
-import os
-import time
-import re
import lldb
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/name_lookup/TestNameLookup.py b/lldb/packages/Python/lldbsuite/test/python_api/name_lookup/TestNameLookup.py
index ba68ca926d8..e3678d97c83 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/name_lookup/TestNameLookup.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/name_lookup/TestNameLookup.py
@@ -6,9 +6,6 @@ from __future__ import print_function
import unittest2
-import os
-import time
-import re
import lldb
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/objc_type/TestObjCType.py b/lldb/packages/Python/lldbsuite/test/python_api/objc_type/TestObjCType.py
index fd3bfa858e1..782ff8e771a 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/objc_type/TestObjCType.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/objc_type/TestObjCType.py
@@ -5,9 +5,6 @@ Test SBType for ObjC classes.
from __future__ import print_function
-import os
-import time
-import re
import lldb
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/process/TestProcessAPI.py b/lldb/packages/Python/lldbsuite/test/python_api/process/TestProcessAPI.py
index fc17e4a76c5..d26933a4289 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/process/TestProcessAPI.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/process/TestProcessAPI.py
@@ -5,8 +5,6 @@ Test SBProcess APIs, including ReadMemory(), WriteMemory(), and others.
from __future__ import print_function
-import os
-import time
import lldb
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/process/io/TestProcessIO.py b/lldb/packages/Python/lldbsuite/test/python_api/process/io/TestProcessIO.py
index e25083d6efb..99b91280e78 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/process/io/TestProcessIO.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/process/io/TestProcessIO.py
@@ -4,8 +4,6 @@ from __future__ import print_function
import os
-import sys
-import time
import lldb
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/rdar-12481949/Test-rdar-12481949.py b/lldb/packages/Python/lldbsuite/test/python_api/rdar-12481949/Test-rdar-12481949.py
index 1d042b69287..8d6a6f14f68 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/rdar-12481949/Test-rdar-12481949.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/rdar-12481949/Test-rdar-12481949.py
@@ -5,8 +5,6 @@ Check that SBValue.GetValueAsSigned() does the right thing for a 32-bit -1.
from __future__ import print_function
-import os
-import time
import lldb
from lldbsuite.test.lldbtest import *
import lldbsuite.test.lldbutil as lldbutil
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/sbdata/TestSBData.py b/lldb/packages/Python/lldbsuite/test/python_api/sbdata/TestSBData.py
index ee43cea9de4..e5ee7687268 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/sbdata/TestSBData.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/sbdata/TestSBData.py
@@ -4,7 +4,6 @@ from __future__ import print_function
from math import fabs
-import os
import lldb
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/sbstructureddata/TestStructuredDataAPI.py b/lldb/packages/Python/lldbsuite/test/python_api/sbstructureddata/TestStructuredDataAPI.py
index f19d01d5e69..48c701ccce7 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/sbstructureddata/TestStructuredDataAPI.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/sbstructureddata/TestStructuredDataAPI.py
@@ -4,9 +4,6 @@ Test some SBStructuredData API.
from __future__ import print_function
-import os
-import re
-import time
import lldb
from lldbsuite.test.decorators import *
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/sbvalue_persist/TestSBValuePersist.py b/lldb/packages/Python/lldbsuite/test/python_api/sbvalue_persist/TestSBValuePersist.py
index 3d0c72146d5..c7b3cdd1f1c 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/sbvalue_persist/TestSBValuePersist.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/sbvalue_persist/TestSBValuePersist.py
@@ -3,9 +3,6 @@
from __future__ import print_function
-import os
-import sys
-import time
import lldb
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/signals/TestSignalsAPI.py b/lldb/packages/Python/lldbsuite/test/python_api/signals/TestSignalsAPI.py
index 482f4a829b2..c06ee1411e2 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/signals/TestSignalsAPI.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/signals/TestSignalsAPI.py
@@ -5,8 +5,6 @@ Test SBProcess APIs, including ReadMemory(), WriteMemory(), and others.
from __future__ import print_function
-import os
-import time
import lldb
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/symbol-context/TestSymbolContext.py b/lldb/packages/Python/lldbsuite/test/python_api/symbol-context/TestSymbolContext.py
index 57988da1ed9..0c1ad83c84d 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/symbol-context/TestSymbolContext.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/symbol-context/TestSymbolContext.py
@@ -5,9 +5,6 @@ Test SBSymbolContext APIs.
from __future__ import print_function
-import os
-import re
-import time
import lldb
from lldbsuite.test.decorators import *
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/symbol-context/two-files/TestSymbolContextTwoFiles.py b/lldb/packages/Python/lldbsuite/test/python_api/symbol-context/two-files/TestSymbolContextTwoFiles.py
index 8640abe5625..0025aa8ab95 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/symbol-context/two-files/TestSymbolContextTwoFiles.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/symbol-context/two-files/TestSymbolContextTwoFiles.py
@@ -4,7 +4,6 @@ Test SBSymbolContext APIs.
from __future__ import print_function
-import os
import lldb
from lldbsuite.test.decorators import *
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py b/lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py
index 224dca77daa..6e5be6e8f17 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py
@@ -7,8 +7,6 @@ from __future__ import print_function
import unittest2
import os
-import time
-import re
import lldb
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/thread/TestThreadAPI.py b/lldb/packages/Python/lldbsuite/test/python_api/thread/TestThreadAPI.py
index d470d47b60b..21c32fb257f 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/thread/TestThreadAPI.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/thread/TestThreadAPI.py
@@ -5,8 +5,6 @@ Test SBThread APIs.
from __future__ import print_function
-import os
-import time
import lldb
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/type/TestTypeList.py b/lldb/packages/Python/lldbsuite/test/python_api/type/TestTypeList.py
index 40128d3ce94..b3b321c6ca8 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/type/TestTypeList.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/type/TestTypeList.py
@@ -5,9 +5,6 @@ Test SBType and SBTypeList API.
from __future__ import print_function
-import os
-import re
-import time
import lldb
from lldbsuite.test.decorators import *
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/value/TestValueAPI.py b/lldb/packages/Python/lldbsuite/test/python_api/value/TestValueAPI.py
index 2299f1f1432..9fc025a58b9 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/value/TestValueAPI.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/value/TestValueAPI.py
@@ -4,9 +4,6 @@ Test some SBValue APIs.
from __future__ import print_function
-import os
-import re
-import time
import lldb
from lldbsuite.test.decorators import *
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/value/change_values/TestChangeValueAPI.py b/lldb/packages/Python/lldbsuite/test/python_api/value/change_values/TestChangeValueAPI.py
index 18d39d9675c..108e813a61a 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/value/change_values/TestChangeValueAPI.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/value/change_values/TestChangeValueAPI.py
@@ -5,9 +5,6 @@ Test some SBValue APIs.
from __future__ import print_function
-import os
-import time
-import re
import lldb
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/value/empty_class/TestValueAPIEmptyClass.py b/lldb/packages/Python/lldbsuite/test/python_api/value/empty_class/TestValueAPIEmptyClass.py
index 6fa72837484..e17d5740258 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/value/empty_class/TestValueAPIEmptyClass.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/value/empty_class/TestValueAPIEmptyClass.py
@@ -1,8 +1,5 @@
from __future__ import print_function
-import os
-import time
-import re
import lldb
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/value/linked_list/TestValueAPILinkedList.py b/lldb/packages/Python/lldbsuite/test/python_api/value/linked_list/TestValueAPILinkedList.py
index 1b009521d25..2f74ac669d2 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/value/linked_list/TestValueAPILinkedList.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/value/linked_list/TestValueAPILinkedList.py
@@ -6,9 +6,6 @@ supports iteration till the end of list is reached.
from __future__ import print_function
-import os
-import time
-import re
import lldb
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/value_var_update/TestValueVarUpdate.py b/lldb/packages/Python/lldbsuite/test/python_api/value_var_update/TestValueVarUpdate.py
index 866d2a541e6..b7d2c8ecbc8 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/value_var_update/TestValueVarUpdate.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/value_var_update/TestValueVarUpdate.py
@@ -3,11 +3,7 @@
from __future__ import print_function
-import os
-import sys
-import time
import lldb
-import time
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
from lldbsuite.test import lldbutil
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/watchpoint/TestSetWatchpoint.py b/lldb/packages/Python/lldbsuite/test/python_api/watchpoint/TestSetWatchpoint.py
index 0236d4b2c6d..b42a7552dae 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/watchpoint/TestSetWatchpoint.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/watchpoint/TestSetWatchpoint.py
@@ -5,9 +5,6 @@ Use lldb Python SBValue API to create a watchpoint for read_write of 'globl' var
from __future__ import print_function
-import os
-import time
-import re
import lldb
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/watchpoint/TestWatchpointIgnoreCount.py b/lldb/packages/Python/lldbsuite/test/python_api/watchpoint/TestWatchpointIgnoreCount.py
index 603b7a80500..975273d1139 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/watchpoint/TestWatchpointIgnoreCount.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/watchpoint/TestWatchpointIgnoreCount.py
@@ -5,9 +5,6 @@ Use lldb Python SBWatchpoint API to set the ignore count.
from __future__ import print_function
-import os
-import time
-import re
import lldb
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/watchpoint/TestWatchpointIter.py b/lldb/packages/Python/lldbsuite/test/python_api/watchpoint/TestWatchpointIter.py
index b9fc7ceb1af..b60f6c5591c 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/watchpoint/TestWatchpointIter.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/watchpoint/TestWatchpointIter.py
@@ -5,9 +5,6 @@ Use lldb Python SBTarget API to iterate on the watchpoint(s) for the target.
from __future__ import print_function
-import os
-import re
-import time
import lldb
from lldbsuite.test.decorators import *
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/watchpoint/condition/TestWatchpointConditionAPI.py b/lldb/packages/Python/lldbsuite/test/python_api/watchpoint/condition/TestWatchpointConditionAPI.py
index 68b8857e87c..fda13cc8b38 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/watchpoint/condition/TestWatchpointConditionAPI.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/watchpoint/condition/TestWatchpointConditionAPI.py
@@ -5,8 +5,6 @@ Test watchpoint condition API.
from __future__ import print_function
-import os
-import time
import lldb
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/watchpoint/watchlocation/TestSetWatchlocation.py b/lldb/packages/Python/lldbsuite/test/python_api/watchpoint/watchlocation/TestSetWatchlocation.py
index f3b3d9383bd..e45e70c647f 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/watchpoint/watchlocation/TestSetWatchlocation.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/watchpoint/watchlocation/TestSetWatchlocation.py
@@ -5,9 +5,6 @@ Use lldb Python SBValue.WatchPointee() API to create a watchpoint for write of '
from __future__ import print_function
-import os
-import re
-import time
import lldb
from lldbsuite.test.decorators import *
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/watchpoint/watchlocation/TestTargetWatchAddress.py b/lldb/packages/Python/lldbsuite/test/python_api/watchpoint/watchlocation/TestTargetWatchAddress.py
index 0471bb5727d..b4b49aa6732 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/watchpoint/watchlocation/TestTargetWatchAddress.py
+++ b/lldb/packages/Python/lldbsuite/test/python_api/watchpoint/watchlocation/TestTargetWatchAddress.py
@@ -5,9 +5,6 @@ Use lldb Python SBtarget.WatchAddress() API to create a watchpoint for write of
from __future__ import print_function
-import os
-import time
-import re
import lldb
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
OpenPOWER on IntegriCloud