DavidSpickett created this revision.
Herald added a subscriber: wenlei.
Herald added a project: All.
DavidSpickett requested review of this revision.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.

Not needed now that we require python 3.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D131761

Files:
  lldb/test/API/api/check_public_api_headers/TestPublicAPIHeaders.py
  lldb/test/API/api/command-return-object/TestSBCommandReturnObject.py
  lldb/test/API/api/multiple-debuggers/TestMultipleDebuggers.py
  lldb/test/API/api/multiple-targets/TestMultipleTargets.py
  lldb/test/API/api/multithreaded/TestMultithreaded.py
  lldb/test/API/arm/emulation/TestEmulations.py
  lldb/test/API/benchmarks/continue/TestBenchmarkContinue.py
  lldb/test/API/benchmarks/expression/TestExpressionCmd.py
  lldb/test/API/benchmarks/expression/TestRepeatedExprs.py
  lldb/test/API/benchmarks/frame_variable/TestFrameVariableResponse.py
  lldb/test/API/benchmarks/libcxxlist/TestBenchmarkLibcxxList.py
  lldb/test/API/benchmarks/libcxxmap/TestBenchmarkLibcxxMap.py
  lldb/test/API/benchmarks/startup/TestStartupDelays.py
  lldb/test/API/benchmarks/stepping/TestSteppingSpeed.py
  lldb/test/API/benchmarks/turnaround/TestCompileRunToBreakpointTurnaround.py
  lldb/test/API/commands/command/container/welcome.py
  lldb/test/API/commands/command/script/decorated.py
  lldb/test/API/commands/command/script/import/bar/bar.py
  lldb/test/API/commands/command/script/import/foo/bar/foobar.py
  lldb/test/API/commands/command/script/import/foo/foo.py
  lldb/test/API/commands/command/script/import/foo/foo2.py
  lldb/test/API/commands/command/script/import/thepackage/__init__.py
  lldb/test/API/commands/command/script/mysto.py
  lldb/test/API/commands/command/script/welcome.py
  lldb/test/API/commands/command/script_alias/tcsacmd.py
  lldb/test/API/commands/command/source/my.py
  lldb/test/API/commands/expression/no-deadlock/TestExprDoesntBlock.py
  lldb/test/API/commands/process/launch/TestProcessLaunch.py
  lldb/test/API/commands/register/register/register_command/TestRegisters.py
  
lldb/test/API/commands/watchpoints/multiple_threads/TestWatchpointMultipleThreads.py
  lldb/test/API/commands/watchpoints/watchpoint_events/TestWatchpointEvents.py
  
lldb/test/API/functionalities/breakpoint/breakpoint_command/TestBreakpointCommandsFromPython.py
  lldb/test/API/functionalities/breakpoint/breakpoint_command/bktptcmd.py
  
lldb/test/API/functionalities/breakpoint/breakpoint_in_delayslot/TestAvoidBreakpointInDelaySlot.py
  lldb/test/API/functionalities/breakpoint/cpp/TestCPPBreakpointLocations.py
  lldb/test/API/functionalities/breakpoint/move_nearest/TestMoveNearest.py
  lldb/test/API/functionalities/conditional_break/TestConditionalBreak.py
  
lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCNSNumber.py
  
lldb/test/API/functionalities/data-formatter/data-formatter-python-synth/TestDataFormatterPythonSynth.py
  
lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/atomic/TestLibCxxAtomic.py
  
lldb/test/API/functionalities/data-formatter/data-formatter-synthval/TestDataFormatterSynthVal.py
  lldb/test/API/functionalities/data-formatter/dump_dynamic/TestDumpDynamic.py
  
lldb/test/API/functionalities/data-formatter/vector-types/TestVectorTypesFormatting.py
  lldb/test/API/functionalities/exec/TestExec.py
  lldb/test/API/functionalities/gdb_remote_client/TestAArch64XMLRegOffsets.py
  lldb/test/API/functionalities/gdb_remote_client/TestArmRegisterDefinition.py
  lldb/test/API/functionalities/gdb_remote_client/TestFork.py
  lldb/test/API/functionalities/gdb_remote_client/TestGDBServerNoTargetXML.py
  lldb/test/API/functionalities/gdb_remote_client/TestGDBServerTargetXML.py
  
lldb/test/API/functionalities/gdb_remote_client/TestJLink6Armv7RegisterDefinition.py
  lldb/test/API/functionalities/gdb_remote_client/TestMultiprocess.py
  lldb/test/API/functionalities/gdb_remote_client/TestNestedRegDefinitions.py
  lldb/test/API/functionalities/gdb_remote_client/TestNoGPacketSupported.py
  lldb/test/API/functionalities/gdb_remote_client/TestNoWatchpointSupportInfo.py
  lldb/test/API/functionalities/gdb_remote_client/TestPartialGPacket.py
  lldb/test/API/functionalities/gdb_remote_client/TestRegDefinitionInParts.py
  lldb/test/API/functionalities/gdb_remote_client/TestRemoteRegNums.py
  lldb/test/API/functionalities/gdb_remote_client/TestRestartBug.py
  lldb/test/API/functionalities/gdb_remote_client/TestTargetXMLArch.py
  lldb/test/API/functionalities/inferior-assert/TestInferiorAssert.py
  lldb/test/API/functionalities/load_unload/TestLoadUnload.py
  
lldb/test/API/functionalities/multidebugger_commands/TestMultipleDebuggersCommands.py
  lldb/test/API/functionalities/plugins/command_plugin/TestPluginCommands.py
  
lldb/test/API/functionalities/plugins/python_os_plugin/stepping_plugin_threads/TestOSPluginStepping.py
  lldb/test/API/functionalities/postmortem/elf-core/TestLinuxCore.py
  lldb/test/API/functionalities/postmortem/netbsd-core/TestNetBSDCore.py
  lldb/test/API/functionalities/recursion/TestValueObjectRecursion.py
  
lldb/test/API/functionalities/target-new-solib-notifications/TestModuleLoadedNotifys.py
  lldb/test/API/functionalities/tty/TestTerminal.py
  lldb/test/API/functionalities/unwind/noreturn/TestNoreturnUnwind.py
  lldb/test/API/functionalities/unwind/sigtramp/TestSigtrampUnwind.py
  lldb/test/API/functionalities/unwind/zeroth_frame/TestZerothFrame.py
  lldb/test/API/lang/c/step_over_no_deadlock/TestStepOverDoesntBlock.py
  lldb/test/API/lang/cpp/class_types/TestClassTypesDisassembly.py
  lldb/test/API/lang/cpp/dynamic-value/TestCppValueCast.py
  lldb/test/API/lang/cpp/stl/TestStdCXXDisassembly.py
  lldb/test/API/lang/objc/direct-dispatch-step/TestObjCDirectDispatchStepping.py
  lldb/test/API/lang/objc/foundation/TestObjCMethods.py
  lldb/test/API/lang/objc/foundation/TestObjectDescriptionAPI.py
  lldb/test/API/lang/objc/objc-class-method/TestObjCClassMethod.py
  lldb/test/API/lang/objc/objc-stepping/TestObjCStepping.py
  lldb/test/API/lang/objc/print-obj/TestPrintObj.py
  lldb/test/API/lldbtest.py
  lldb/test/API/macosx/queues/TestQueues.py
  
lldb/test/API/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py
  lldb/test/API/python_api/disassemble-raw-data/TestDisassembleRawData.py
  lldb/test/API/python_api/disassemble-raw-data/TestDisassemble_VST1_64.py
  lldb/test/API/python_api/event/TestEvents.py
  lldb/test/API/python_api/formatters/TestFormattersSBAPI.py
  lldb/test/API/python_api/frame/TestFrames.py
  lldb/test/API/python_api/frame/get-variables/TestGetVariables.py
  lldb/test/API/python_api/frame/inlines/TestInlinedFrame.py
  lldb/test/API/python_api/function_symbol/TestDisasmAPI.py
  lldb/test/API/python_api/function_symbol/TestSymbolAPI.py
  lldb/test/API/python_api/interpreter/TestCommandInterpreterAPI.py
  lldb/test/API/python_api/lldbutil/frame/TestFrameUtils.py
  lldb/test/API/python_api/lldbutil/iter/TestLLDBIterator.py
  lldb/test/API/python_api/lldbutil/iter/TestRegistersIterator.py
  lldb/test/API/python_api/module_section/TestModuleAndSection.py
  lldb/test/API/python_api/process/TestProcessAPI.py
  lldb/test/API/python_api/process/io/TestProcessIO.py
  lldb/test/API/python_api/symbol-context/TestSymbolContext.py
  lldb/test/API/python_api/target/TestTargetAPI.py
  lldb/test/API/python_api/thread/TestThreadAPI.py
  lldb/test/API/python_api/type/TestTypeList.py
  lldb/test/API/python_api/value/TestValueAPI.py
  lldb/test/API/python_api/value/linked_list/TestValueAPILinkedList.py
  lldb/test/API/python_api/watchpoint/TestSetWatchpoint.py
  lldb/test/API/python_api/watchpoint/TestWatchpointIgnoreCount.py
  lldb/test/API/python_api/watchpoint/TestWatchpointIter.py
  lldb/test/API/python_api/watchpoint/condition/TestWatchpointConditionAPI.py
  lldb/test/API/python_api/watchpoint/watchlocation/TestSetWatchlocation.py
  lldb/test/API/python_api/watchpoint/watchlocation/TestTargetWatchAddress.py
  lldb/test/API/qemu/TestQemuAPI.py
  lldb/test/API/qemu/TestQemuLaunch.py
  lldb/test/API/sample_test/TestSampleInlineTest.py
  lldb/test/API/source-manager/TestSourceManager.py
  lldb/test/API/terminal/TestSTTYBeforeAndAfter.py
  lldb/test/API/test_runner/test/inferior.py
  lldb/test/API/tools/lldb-server/TestGdbRemoteHostInfo.py
  lldb/test/API/tools/lldb-server/TestGdbRemotePlatformFile.py
  lldb/test/API/tools/lldb-server/commandline/TestGdbRemoteConnection.py
  lldb/test/API/tools/lldb-vscode/console/TestVSCode_console.py
  lldb/test/API/tools/lldb-vscode/correct-thread/TestVSCode_correct_thread.py
  lldb/test/API/tools/lldb-vscode/module/TestVSCode_module.py
  lldb/test/API/tools/lldb-vscode/optimized/TestVSCode_optimized.py
  lldb/test/API/tools/lldb-vscode/variables/TestVSCode_variables.py
  lldb/test/API/types/AbstractBase.py
  lldb/test/Shell/Commands/CommandScriptImmediateOutput/Inputs/custom_command.py
  lldb/test/Shell/helper/build.py

Index: lldb/test/Shell/helper/build.py
===================================================================
--- lldb/test/Shell/helper/build.py
+++ lldb/test/Shell/helper/build.py
@@ -1,7 +1,5 @@
 #!/usr/bin/env python
 
-from __future__ import print_function
-
 import argparse
 import os
 import shutil
Index: lldb/test/Shell/Commands/CommandScriptImmediateOutput/Inputs/custom_command.py
===================================================================
--- lldb/test/Shell/Commands/CommandScriptImmediateOutput/Inputs/custom_command.py
+++ lldb/test/Shell/Commands/CommandScriptImmediateOutput/Inputs/custom_command.py
@@ -1,5 +1,3 @@
-from __future__ import print_function
-
 import sys
 
 
Index: lldb/test/API/types/AbstractBase.py
===================================================================
--- lldb/test/API/types/AbstractBase.py
+++ lldb/test/API/types/AbstractBase.py
@@ -2,8 +2,6 @@
 Abstract base class of basic types provides a generic type tester method.
 """
 
-from __future__ import print_function
-
 import os
 import re
 import lldb
Index: lldb/test/API/tools/lldb-vscode/variables/TestVSCode_variables.py
===================================================================
--- lldb/test/API/tools/lldb-vscode/variables/TestVSCode_variables.py
+++ lldb/test/API/tools/lldb-vscode/variables/TestVSCode_variables.py
@@ -2,8 +2,6 @@
 Test lldb-vscode setBreakpoints request
 """
 
-from __future__ import print_function
-
 import vscode
 from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbtest import *
Index: lldb/test/API/tools/lldb-vscode/optimized/TestVSCode_optimized.py
===================================================================
--- lldb/test/API/tools/lldb-vscode/optimized/TestVSCode_optimized.py
+++ lldb/test/API/tools/lldb-vscode/optimized/TestVSCode_optimized.py
@@ -2,8 +2,6 @@
 Test lldb-vscode variables/stackTrace request for optimized code
 """
 
-from __future__ import print_function
-
 import vscode
 from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbtest import *
Index: lldb/test/API/tools/lldb-vscode/module/TestVSCode_module.py
===================================================================
--- lldb/test/API/tools/lldb-vscode/module/TestVSCode_module.py
+++ lldb/test/API/tools/lldb-vscode/module/TestVSCode_module.py
@@ -2,8 +2,6 @@
 Test lldb-vscode setBreakpoints request
 """
 
-from __future__ import print_function
-
 import vscode
 from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbtest import *
Index: lldb/test/API/tools/lldb-vscode/correct-thread/TestVSCode_correct_thread.py
===================================================================
--- lldb/test/API/tools/lldb-vscode/correct-thread/TestVSCode_correct_thread.py
+++ lldb/test/API/tools/lldb-vscode/correct-thread/TestVSCode_correct_thread.py
@@ -2,8 +2,6 @@
 Test lldb-vscode setBreakpoints request
 """
 
-from __future__ import print_function
-
 import vscode
 from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbtest import *
Index: lldb/test/API/tools/lldb-vscode/console/TestVSCode_console.py
===================================================================
--- lldb/test/API/tools/lldb-vscode/console/TestVSCode_console.py
+++ lldb/test/API/tools/lldb-vscode/console/TestVSCode_console.py
@@ -2,8 +2,6 @@
 Test lldb-vscode setBreakpoints request
 """
 
-from __future__ import print_function
-
 import vscode
 from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbtest import *
Index: lldb/test/API/tools/lldb-server/commandline/TestGdbRemoteConnection.py
===================================================================
--- lldb/test/API/tools/lldb-server/commandline/TestGdbRemoteConnection.py
+++ lldb/test/API/tools/lldb-server/commandline/TestGdbRemoteConnection.py
@@ -1,5 +1,3 @@
-from __future__ import print_function
-
 import gdbremote_testcase
 import random
 import select
Index: lldb/test/API/tools/lldb-server/TestGdbRemotePlatformFile.py
===================================================================
--- lldb/test/API/tools/lldb-server/TestGdbRemotePlatformFile.py
+++ lldb/test/API/tools/lldb-server/TestGdbRemotePlatformFile.py
@@ -1,5 +1,3 @@
-from __future__ import print_function
-
 # lldb test suite imports
 from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbtest import TestBase
Index: lldb/test/API/tools/lldb-server/TestGdbRemoteHostInfo.py
===================================================================
--- lldb/test/API/tools/lldb-server/TestGdbRemoteHostInfo.py
+++ lldb/test/API/tools/lldb-server/TestGdbRemoteHostInfo.py
@@ -1,5 +1,3 @@
-from __future__ import print_function
-
 # lldb test suite imports
 from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbtest import TestBase
Index: lldb/test/API/test_runner/test/inferior.py
===================================================================
--- lldb/test/API/test_runner/test/inferior.py
+++ lldb/test/API/test_runner/test/inferior.py
@@ -1,8 +1,6 @@
 #!/usr/bin/env python
 """Inferior program used by process control tests."""
 
-from __future__ import print_function
-
 import argparse
 import datetime
 import signal
Index: lldb/test/API/terminal/TestSTTYBeforeAndAfter.py
===================================================================
--- lldb/test/API/terminal/TestSTTYBeforeAndAfter.py
+++ lldb/test/API/terminal/TestSTTYBeforeAndAfter.py
@@ -2,9 +2,6 @@
 Test that 'stty -a' displays the same output before and after running the lldb command.
 """
 
-from __future__ import print_function
-
-
 import lldb
 import io
 import sys
Index: lldb/test/API/source-manager/TestSourceManager.py
===================================================================
--- lldb/test/API/source-manager/TestSourceManager.py
+++ lldb/test/API/source-manager/TestSourceManager.py
@@ -9,8 +9,6 @@
   Test the caching mechanism of the source manager.
 """
 
-from __future__ import print_function
-
 import lldb
 from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbtest import *
Index: lldb/test/API/sample_test/TestSampleInlineTest.py
===================================================================
--- lldb/test/API/sample_test/TestSampleInlineTest.py
+++ lldb/test/API/sample_test/TestSampleInlineTest.py
@@ -2,8 +2,6 @@
 Describe the purpose of the test here.
 """
 
-from __future__ import absolute_import
-
 from lldbsuite.test import lldbinline
 
 lldbinline.MakeInlineTest(
Index: lldb/test/API/qemu/TestQemuLaunch.py
===================================================================
--- lldb/test/API/qemu/TestQemuLaunch.py
+++ lldb/test/API/qemu/TestQemuLaunch.py
@@ -1,4 +1,3 @@
-from __future__ import print_function
 import lldb
 import unittest
 import os
Index: lldb/test/API/qemu/TestQemuAPI.py
===================================================================
--- lldb/test/API/qemu/TestQemuAPI.py
+++ lldb/test/API/qemu/TestQemuAPI.py
@@ -1,4 +1,3 @@
-from __future__ import print_function
 import lldb
 import os
 from lldbsuite.test.lldbtest import *
Index: lldb/test/API/python_api/watchpoint/watchlocation/TestTargetWatchAddress.py
===================================================================
--- lldb/test/API/python_api/watchpoint/watchlocation/TestTargetWatchAddress.py
+++ lldb/test/API/python_api/watchpoint/watchlocation/TestTargetWatchAddress.py
@@ -2,9 +2,6 @@
 Use lldb Python SBtarget.WatchAddress() API to create a watchpoint for write of '*g_char_ptr'.
 """
 
-from __future__ import print_function
-
-
 import lldb
 from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbtest import *
Index: lldb/test/API/python_api/watchpoint/watchlocation/TestSetWatchlocation.py
===================================================================
--- lldb/test/API/python_api/watchpoint/watchlocation/TestSetWatchlocation.py
+++ lldb/test/API/python_api/watchpoint/watchlocation/TestSetWatchlocation.py
@@ -2,10 +2,6 @@
 Use lldb Python SBValue.WatchPointee() API to create a watchpoint for write of '*g_char_ptr'.
 """
 
-from __future__ import print_function
-
-
-
 import lldb
 from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbtest import *
Index: lldb/test/API/python_api/watchpoint/condition/TestWatchpointConditionAPI.py
===================================================================
--- lldb/test/API/python_api/watchpoint/condition/TestWatchpointConditionAPI.py
+++ lldb/test/API/python_api/watchpoint/condition/TestWatchpointConditionAPI.py
@@ -2,9 +2,6 @@
 Test watchpoint condition API.
 """
 
-from __future__ import print_function
-
-
 import lldb
 from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbtest import *
Index: lldb/test/API/python_api/watchpoint/TestWatchpointIter.py
===================================================================
--- lldb/test/API/python_api/watchpoint/TestWatchpointIter.py
+++ lldb/test/API/python_api/watchpoint/TestWatchpointIter.py
@@ -2,10 +2,6 @@
 Use lldb Python SBTarget API to iterate on the watchpoint(s) for the target.
 """
 
-from __future__ import print_function
-
-
-
 import lldb
 from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbtest import *
Index: lldb/test/API/python_api/watchpoint/TestWatchpointIgnoreCount.py
===================================================================
--- lldb/test/API/python_api/watchpoint/TestWatchpointIgnoreCount.py
+++ lldb/test/API/python_api/watchpoint/TestWatchpointIgnoreCount.py
@@ -2,9 +2,6 @@
 Use lldb Python SBWatchpoint API to set the ignore count.
 """
 
-from __future__ import print_function
-
-
 import lldb
 from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbtest import *
Index: lldb/test/API/python_api/watchpoint/TestSetWatchpoint.py
===================================================================
--- lldb/test/API/python_api/watchpoint/TestSetWatchpoint.py
+++ lldb/test/API/python_api/watchpoint/TestSetWatchpoint.py
@@ -2,9 +2,6 @@
 Use lldb Python SBValue API to create a watchpoint for read_write of 'globl' var.
 """
 
-from __future__ import print_function
-
-
 import lldb
 from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbtest import *
Index: lldb/test/API/python_api/value/linked_list/TestValueAPILinkedList.py
===================================================================
--- lldb/test/API/python_api/value/linked_list/TestValueAPILinkedList.py
+++ lldb/test/API/python_api/value/linked_list/TestValueAPILinkedList.py
@@ -3,9 +3,6 @@
 supports iteration till the end of list is reached.
 """
 
-from __future__ import print_function
-
-
 import lldb
 from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbtest import *
Index: lldb/test/API/python_api/value/TestValueAPI.py
===================================================================
--- lldb/test/API/python_api/value/TestValueAPI.py
+++ lldb/test/API/python_api/value/TestValueAPI.py
@@ -2,9 +2,6 @@
 Test some SBValue APIs.
 """
 
-from __future__ import print_function
-
-
 import lldb
 from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbtest import *
Index: lldb/test/API/python_api/type/TestTypeList.py
===================================================================
--- lldb/test/API/python_api/type/TestTypeList.py
+++ lldb/test/API/python_api/type/TestTypeList.py
@@ -2,10 +2,6 @@
 Test SBType and SBTypeList API.
 """
 
-from __future__ import print_function
-
-
-
 import lldb
 from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbtest import *
Index: lldb/test/API/python_api/thread/TestThreadAPI.py
===================================================================
--- lldb/test/API/python_api/thread/TestThreadAPI.py
+++ lldb/test/API/python_api/thread/TestThreadAPI.py
@@ -2,9 +2,6 @@
 Test SBThread APIs.
 """
 
-from __future__ import print_function
-
-
 import lldb
 from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbtest import *
Index: lldb/test/API/python_api/target/TestTargetAPI.py
===================================================================
--- lldb/test/API/python_api/target/TestTargetAPI.py
+++ lldb/test/API/python_api/target/TestTargetAPI.py
@@ -2,9 +2,6 @@
 Test SBTarget APIs.
 """
 
-from __future__ import print_function
-
-
 import unittest2
 import os
 import lldb
Index: lldb/test/API/python_api/symbol-context/TestSymbolContext.py
===================================================================
--- lldb/test/API/python_api/symbol-context/TestSymbolContext.py
+++ lldb/test/API/python_api/symbol-context/TestSymbolContext.py
@@ -2,8 +2,6 @@
 Test SBSymbolContext APIs.
 """
 
-from __future__ import print_function
-
 import lldb
 from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbtest import *
Index: lldb/test/API/python_api/process/io/TestProcessIO.py
===================================================================
--- lldb/test/API/python_api/process/io/TestProcessIO.py
+++ lldb/test/API/python_api/process/io/TestProcessIO.py
@@ -1,8 +1,5 @@
 """Test Python APIs for process IO."""
 
-from __future__ import print_function
-
-
 import os
 import lldb
 from lldbsuite.test.decorators import *
Index: lldb/test/API/python_api/process/TestProcessAPI.py
===================================================================
--- lldb/test/API/python_api/process/TestProcessAPI.py
+++ lldb/test/API/python_api/process/TestProcessAPI.py
@@ -2,9 +2,6 @@
 Test SBProcess APIs, including ReadMemory(), WriteMemory(), and others.
 """
 
-from __future__ import print_function
-
-
 import lldb
 from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbtest import *
Index: lldb/test/API/python_api/module_section/TestModuleAndSection.py
===================================================================
--- lldb/test/API/python_api/module_section/TestModuleAndSection.py
+++ lldb/test/API/python_api/module_section/TestModuleAndSection.py
@@ -2,9 +2,6 @@
 Test some SBModule and SBSection APIs.
 """
 
-from __future__ import print_function
-
-
 import lldb
 from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbtest import *
Index: lldb/test/API/python_api/lldbutil/iter/TestRegistersIterator.py
===================================================================
--- lldb/test/API/python_api/lldbutil/iter/TestRegistersIterator.py
+++ lldb/test/API/python_api/lldbutil/iter/TestRegistersIterator.py
@@ -2,9 +2,6 @@
 Test the iteration protocol for frame registers.
 """
 
-from __future__ import print_function
-
-
 import lldb
 from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbtest import *
Index: lldb/test/API/python_api/lldbutil/iter/TestLLDBIterator.py
===================================================================
--- lldb/test/API/python_api/lldbutil/iter/TestLLDBIterator.py
+++ lldb/test/API/python_api/lldbutil/iter/TestLLDBIterator.py
@@ -2,9 +2,6 @@
 Test the iteration protocol for some lldb container objects.
 """
 
-from __future__ import print_function
-
-
 import lldb
 from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbtest import *
Index: lldb/test/API/python_api/lldbutil/frame/TestFrameUtils.py
===================================================================
--- lldb/test/API/python_api/lldbutil/frame/TestFrameUtils.py
+++ lldb/test/API/python_api/lldbutil/frame/TestFrameUtils.py
@@ -2,9 +2,6 @@
 Test utility functions for the frame object.
 """
 
-from __future__ import print_function
-
-
 import lldb
 from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbtest import *
Index: lldb/test/API/python_api/interpreter/TestCommandInterpreterAPI.py
===================================================================
--- lldb/test/API/python_api/interpreter/TestCommandInterpreterAPI.py
+++ lldb/test/API/python_api/interpreter/TestCommandInterpreterAPI.py
@@ -1,8 +1,5 @@
 """Test the SBCommandInterpreter APIs."""
 
-from __future__ import print_function
-
-
 import lldb
 from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbtest import *
Index: lldb/test/API/python_api/function_symbol/TestSymbolAPI.py
===================================================================
--- lldb/test/API/python_api/function_symbol/TestSymbolAPI.py
+++ lldb/test/API/python_api/function_symbol/TestSymbolAPI.py
@@ -2,9 +2,6 @@
 Test newly added SBSymbol and SBAddress APIs.
 """
 
-from __future__ import print_function
-
-
 import lldb
 from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbtest import *
Index: lldb/test/API/python_api/function_symbol/TestDisasmAPI.py
===================================================================
--- lldb/test/API/python_api/function_symbol/TestDisasmAPI.py
+++ lldb/test/API/python_api/function_symbol/TestDisasmAPI.py
@@ -2,9 +2,6 @@
 Test retrieval of SBAddress from function/symbol, disassembly, and SBAddress APIs.
 """
 
-from __future__ import print_function
-
-
 import lldb
 from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbtest import *
Index: lldb/test/API/python_api/frame/inlines/TestInlinedFrame.py
===================================================================
--- lldb/test/API/python_api/frame/inlines/TestInlinedFrame.py
+++ lldb/test/API/python_api/frame/inlines/TestInlinedFrame.py
@@ -2,9 +2,6 @@
 Testlldb Python SBFrame APIs IsInlined() and GetFunctionName().
 """
 
-from __future__ import print_function
-
-
 import lldb
 from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbtest import *
Index: lldb/test/API/python_api/frame/get-variables/TestGetVariables.py
===================================================================
--- lldb/test/API/python_api/frame/get-variables/TestGetVariables.py
+++ lldb/test/API/python_api/frame/get-variables/TestGetVariables.py
@@ -2,9 +2,6 @@
 Test that SBFrame::GetVariables() calls work correctly.
 """
 
-from __future__ import print_function
-
-
 import lldb
 from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbtest import *
Index: lldb/test/API/python_api/frame/TestFrames.py
===================================================================
--- lldb/test/API/python_api/frame/TestFrames.py
+++ lldb/test/API/python_api/frame/TestFrames.py
@@ -3,8 +3,6 @@
 And other SBFrame API tests.
 """
 
-from __future__ import print_function
-
 import io
 
 import lldb
Index: lldb/test/API/python_api/formatters/TestFormattersSBAPI.py
===================================================================
--- lldb/test/API/python_api/formatters/TestFormattersSBAPI.py
+++ lldb/test/API/python_api/formatters/TestFormattersSBAPI.py
@@ -1,8 +1,5 @@
 """Test Python APIs for working with formatters"""
 
-from __future__ import print_function
-
-
 import lldb
 from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbtest import *
Index: lldb/test/API/python_api/event/TestEvents.py
===================================================================
--- lldb/test/API/python_api/event/TestEvents.py
+++ lldb/test/API/python_api/event/TestEvents.py
@@ -2,9 +2,6 @@
 Test lldb Python event APIs.
 """
 
-from __future__ import print_function
-
-
 import re
 import lldb
 from lldbsuite.test.decorators import *
Index: lldb/test/API/python_api/disassemble-raw-data/TestDisassemble_VST1_64.py
===================================================================
--- lldb/test/API/python_api/disassemble-raw-data/TestDisassemble_VST1_64.py
+++ lldb/test/API/python_api/disassemble-raw-data/TestDisassemble_VST1_64.py
@@ -2,8 +2,6 @@
 Use lldb Python API to disassemble raw machine code bytes
 """
 
-from __future__ import print_function
-
 from io import StringIO
 import sys
 
Index: lldb/test/API/python_api/disassemble-raw-data/TestDisassembleRawData.py
===================================================================
--- lldb/test/API/python_api/disassemble-raw-data/TestDisassembleRawData.py
+++ lldb/test/API/python_api/disassemble-raw-data/TestDisassembleRawData.py
@@ -2,9 +2,6 @@
 Use lldb Python API to disassemble raw machine code bytes
 """
 
-from __future__ import print_function
-
-
 import re
 import lldb
 from lldbsuite.test.decorators import *
Index: lldb/test/API/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py
===================================================================
--- lldb/test/API/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py
+++ lldb/test/API/python_api/default-constructor/TestDefaultConstructorForAPIObjects.py
@@ -11,9 +11,6 @@
 after default construction.
 """
 
-from __future__ import print_function
-
-
 import lldb
 from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbtest import *
Index: lldb/test/API/macosx/queues/TestQueues.py
===================================================================
--- lldb/test/API/macosx/queues/TestQueues.py
+++ lldb/test/API/macosx/queues/TestQueues.py
@@ -1,8 +1,5 @@
 """Test queues inspection SB APIs."""
 
-from __future__ import print_function
-
-
 import os
 import lldb
 from lldbsuite.test.decorators import *
Index: lldb/test/API/lldbtest.py
===================================================================
--- lldb/test/API/lldbtest.py
+++ lldb/test/API/lldbtest.py
@@ -1,4 +1,3 @@
-from __future__ import absolute_import
 import os
 import re
 import operator
Index: lldb/test/API/lang/objc/print-obj/TestPrintObj.py
===================================================================
--- lldb/test/API/lang/objc/print-obj/TestPrintObj.py
+++ lldb/test/API/lang/objc/print-obj/TestPrintObj.py
@@ -2,9 +2,6 @@
 Test "print object" where another thread blocks the print object from making progress.
 """
 
-from __future__ import print_function
-
-
 import lldb
 from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbtest import *
Index: lldb/test/API/lang/objc/objc-stepping/TestObjCStepping.py
===================================================================
--- lldb/test/API/lang/objc/objc-stepping/TestObjCStepping.py
+++ lldb/test/API/lang/objc/objc-stepping/TestObjCStepping.py
@@ -1,8 +1,5 @@
 """Test stepping through ObjC method dispatch in various forms."""
 
-from __future__ import print_function
-
-
 import lldb
 from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbtest import *
Index: lldb/test/API/lang/objc/objc-class-method/TestObjCClassMethod.py
===================================================================
--- lldb/test/API/lang/objc/objc-class-method/TestObjCClassMethod.py
+++ lldb/test/API/lang/objc/objc-class-method/TestObjCClassMethod.py
@@ -1,8 +1,5 @@
 """Test calling functions in class methods."""
 
-from __future__ import print_function
-
-
 import lldb
 from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbtest import *
Index: lldb/test/API/lang/objc/foundation/TestObjectDescriptionAPI.py
===================================================================
--- lldb/test/API/lang/objc/foundation/TestObjectDescriptionAPI.py
+++ lldb/test/API/lang/objc/foundation/TestObjectDescriptionAPI.py
@@ -2,9 +2,6 @@
 Test SBValue.GetObjectDescription() with the value from SBTarget.FindGlobalVariables().
 """
 
-from __future__ import print_function
-
-
 import lldb
 from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbtest import *
Index: lldb/test/API/lang/objc/foundation/TestObjCMethods.py
===================================================================
--- lldb/test/API/lang/objc/foundation/TestObjCMethods.py
+++ lldb/test/API/lang/objc/foundation/TestObjCMethods.py
@@ -3,9 +3,6 @@
 Also lookup objective-c data types and evaluate expressions.
 """
 
-from __future__ import print_function
-
-
 import os
 import os.path
 import lldb
Index: lldb/test/API/lang/objc/direct-dispatch-step/TestObjCDirectDispatchStepping.py
===================================================================
--- lldb/test/API/lang/objc/direct-dispatch-step/TestObjCDirectDispatchStepping.py
+++ lldb/test/API/lang/objc/direct-dispatch-step/TestObjCDirectDispatchStepping.py
@@ -1,8 +1,5 @@
 """Test stepping through ObjC method dispatch in various forms."""
 
-from __future__ import print_function
-
-
 import lldb
 from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbtest import *
Index: lldb/test/API/lang/cpp/stl/TestStdCXXDisassembly.py
===================================================================
--- lldb/test/API/lang/cpp/stl/TestStdCXXDisassembly.py
+++ lldb/test/API/lang/cpp/stl/TestStdCXXDisassembly.py
@@ -2,9 +2,6 @@
 Test the lldb disassemble command on lib stdc++.
 """
 
-from __future__ import print_function
-
-
 import os
 import lldb
 from lldbsuite.test.lldbtest import *
Index: lldb/test/API/lang/cpp/dynamic-value/TestCppValueCast.py
===================================================================
--- lldb/test/API/lang/cpp/dynamic-value/TestCppValueCast.py
+++ lldb/test/API/lang/cpp/dynamic-value/TestCppValueCast.py
@@ -2,9 +2,6 @@
 Test lldb Python API SBValue::Cast(SBType) for C++ types.
 """
 
-from __future__ import print_function
-
-
 import lldb
 from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbtest import *
Index: lldb/test/API/lang/cpp/class_types/TestClassTypesDisassembly.py
===================================================================
--- lldb/test/API/lang/cpp/class_types/TestClassTypesDisassembly.py
+++ lldb/test/API/lang/cpp/class_types/TestClassTypesDisassembly.py
@@ -2,9 +2,6 @@
 Test the lldb disassemble command on each call frame when stopped on C's ctor.
 """
 
-from __future__ import print_function
-
-
 import os
 import lldb
 from lldbsuite.test.decorators import *
Index: lldb/test/API/lang/c/step_over_no_deadlock/TestStepOverDoesntBlock.py
===================================================================
--- lldb/test/API/lang/c/step_over_no_deadlock/TestStepOverDoesntBlock.py
+++ lldb/test/API/lang/c/step_over_no_deadlock/TestStepOverDoesntBlock.py
@@ -2,9 +2,6 @@
 Test that step over will let other threads run when necessary
 """
 
-from __future__ import print_function
-
-
 import lldb
 from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbtest import *
Index: lldb/test/API/functionalities/unwind/zeroth_frame/TestZerothFrame.py
===================================================================
--- lldb/test/API/functionalities/unwind/zeroth_frame/TestZerothFrame.py
+++ lldb/test/API/functionalities/unwind/zeroth_frame/TestZerothFrame.py
@@ -21,9 +21,6 @@
 when using API directly, for example in LLDB-MI.
 """
 
-from __future__ import print_function
-
-
 import lldb
 from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbtest import *
Index: lldb/test/API/functionalities/unwind/sigtramp/TestSigtrampUnwind.py
===================================================================
--- lldb/test/API/functionalities/unwind/sigtramp/TestSigtrampUnwind.py
+++ lldb/test/API/functionalities/unwind/sigtramp/TestSigtrampUnwind.py
@@ -2,9 +2,6 @@
 Test that we can backtrace correctly with 'sigtramp' functions on the stack
 """
 
-from __future__ import print_function
-
-
 import lldb
 from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbtest import *
Index: lldb/test/API/functionalities/unwind/noreturn/TestNoreturnUnwind.py
===================================================================
--- lldb/test/API/functionalities/unwind/noreturn/TestNoreturnUnwind.py
+++ lldb/test/API/functionalities/unwind/noreturn/TestNoreturnUnwind.py
@@ -2,9 +2,6 @@
 Test that we can backtrace correctly with 'noreturn' functions on the stack
 """
 
-from __future__ import print_function
-
-
 import lldb
 from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbtest import *
Index: lldb/test/API/functionalities/tty/TestTerminal.py
===================================================================
--- lldb/test/API/functionalities/tty/TestTerminal.py
+++ lldb/test/API/functionalities/tty/TestTerminal.py
@@ -2,9 +2,6 @@
 Test lldb command aliases.
 """
 
-from __future__ import print_function
-
-
 import unittest2
 import os
 import lldb
Index: lldb/test/API/functionalities/target-new-solib-notifications/TestModuleLoadedNotifys.py
===================================================================
--- lldb/test/API/functionalities/target-new-solib-notifications/TestModuleLoadedNotifys.py
+++ lldb/test/API/functionalities/target-new-solib-notifications/TestModuleLoadedNotifys.py
@@ -3,9 +3,6 @@
 they should be delivered in batches instead of one-by-one.
 """
 
-from __future__ import print_function
-
-
 import lldb
 from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbtest import *
Index: lldb/test/API/functionalities/recursion/TestValueObjectRecursion.py
===================================================================
--- lldb/test/API/functionalities/recursion/TestValueObjectRecursion.py
+++ lldb/test/API/functionalities/recursion/TestValueObjectRecursion.py
@@ -2,9 +2,6 @@
 Test lldb data formatter subsystem.
 """
 
-from __future__ import print_function
-
-
 import lldb
 from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbtest import *
Index: lldb/test/API/functionalities/postmortem/netbsd-core/TestNetBSDCore.py
===================================================================
--- lldb/test/API/functionalities/postmortem/netbsd-core/TestNetBSDCore.py
+++ lldb/test/API/functionalities/postmortem/netbsd-core/TestNetBSDCore.py
@@ -2,8 +2,6 @@
 Test NetBSD core file debugging.
 """
 
-from __future__ import division, print_function
-
 import signal
 import os
 
Index: lldb/test/API/functionalities/postmortem/elf-core/TestLinuxCore.py
===================================================================
--- lldb/test/API/functionalities/postmortem/elf-core/TestLinuxCore.py
+++ lldb/test/API/functionalities/postmortem/elf-core/TestLinuxCore.py
@@ -2,8 +2,6 @@
 Test basics of linux core file debugging.
 """
 
-from __future__ import division, print_function
-
 import shutil
 import struct
 import os
Index: lldb/test/API/functionalities/plugins/python_os_plugin/stepping_plugin_threads/TestOSPluginStepping.py
===================================================================
--- lldb/test/API/functionalities/plugins/python_os_plugin/stepping_plugin_threads/TestOSPluginStepping.py
+++ lldb/test/API/functionalities/plugins/python_os_plugin/stepping_plugin_threads/TestOSPluginStepping.py
@@ -3,9 +3,6 @@
 all threads at every stop.
 """
 
-from __future__ import print_function
-
-
 import os
 import lldb
 from lldbsuite.test.decorators import *
Index: lldb/test/API/functionalities/plugins/command_plugin/TestPluginCommands.py
===================================================================
--- lldb/test/API/functionalities/plugins/command_plugin/TestPluginCommands.py
+++ lldb/test/API/functionalities/plugins/command_plugin/TestPluginCommands.py
@@ -2,9 +2,6 @@
 Test that plugins that load commands work correctly.
 """
 
-from __future__ import print_function
-
-
 import lldb
 from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbtest import *
Index: lldb/test/API/functionalities/multidebugger_commands/TestMultipleDebuggersCommands.py
===================================================================
--- lldb/test/API/functionalities/multidebugger_commands/TestMultipleDebuggersCommands.py
+++ lldb/test/API/functionalities/multidebugger_commands/TestMultipleDebuggersCommands.py
@@ -2,9 +2,6 @@
 Test that commands do not try and hold on to stale CommandInterpreters in a multiple debuggers scenario
 """
 
-from __future__ import print_function
-
-
 import lldb
 from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbtest import *
Index: lldb/test/API/functionalities/load_unload/TestLoadUnload.py
===================================================================
--- lldb/test/API/functionalities/load_unload/TestLoadUnload.py
+++ lldb/test/API/functionalities/load_unload/TestLoadUnload.py
@@ -2,9 +2,6 @@
 Test that breakpoint by symbol name works correctly with dynamic libs.
 """
 
-from __future__ import print_function
-
-
 import os
 import re
 import lldb
Index: lldb/test/API/functionalities/inferior-assert/TestInferiorAssert.py
===================================================================
--- lldb/test/API/functionalities/inferior-assert/TestInferiorAssert.py
+++ lldb/test/API/functionalities/inferior-assert/TestInferiorAssert.py
@@ -1,8 +1,5 @@
 """Test that lldb functions correctly after the inferior has asserted."""
 
-from __future__ import print_function
-
-
 import lldb
 from lldbsuite.test import lldbutil
 from lldbsuite.test import lldbplatformutil
Index: lldb/test/API/functionalities/gdb_remote_client/TestTargetXMLArch.py
===================================================================
--- lldb/test/API/functionalities/gdb_remote_client/TestTargetXMLArch.py
+++ lldb/test/API/functionalities/gdb_remote_client/TestTargetXMLArch.py
@@ -1,4 +1,3 @@
-from __future__ import print_function
 import lldb
 from lldbsuite.test.lldbtest import *
 from lldbsuite.test.decorators import *
Index: lldb/test/API/functionalities/gdb_remote_client/TestRestartBug.py
===================================================================
--- lldb/test/API/functionalities/gdb_remote_client/TestRestartBug.py
+++ lldb/test/API/functionalities/gdb_remote_client/TestRestartBug.py
@@ -1,4 +1,3 @@
-from __future__ import print_function
 import lldb
 from lldbsuite.test.lldbtest import *
 from lldbsuite.test.decorators import *
Index: lldb/test/API/functionalities/gdb_remote_client/TestRemoteRegNums.py
===================================================================
--- lldb/test/API/functionalities/gdb_remote_client/TestRemoteRegNums.py
+++ lldb/test/API/functionalities/gdb_remote_client/TestRemoteRegNums.py
@@ -1,4 +1,3 @@
-from __future__ import print_function
 import lldb
 from lldbsuite.test.lldbtest import *
 from lldbsuite.test.decorators import *
Index: lldb/test/API/functionalities/gdb_remote_client/TestRegDefinitionInParts.py
===================================================================
--- lldb/test/API/functionalities/gdb_remote_client/TestRegDefinitionInParts.py
+++ lldb/test/API/functionalities/gdb_remote_client/TestRegDefinitionInParts.py
@@ -1,4 +1,3 @@
-from __future__ import print_function
 import lldb
 import time
 from lldbsuite.test.lldbtest import *
Index: lldb/test/API/functionalities/gdb_remote_client/TestPartialGPacket.py
===================================================================
--- lldb/test/API/functionalities/gdb_remote_client/TestPartialGPacket.py
+++ lldb/test/API/functionalities/gdb_remote_client/TestPartialGPacket.py
@@ -1,4 +1,3 @@
-from __future__ import print_function
 import lldb
 from lldbsuite.test.lldbtest import *
 from lldbsuite.test.decorators import *
Index: lldb/test/API/functionalities/gdb_remote_client/TestNoWatchpointSupportInfo.py
===================================================================
--- lldb/test/API/functionalities/gdb_remote_client/TestNoWatchpointSupportInfo.py
+++ lldb/test/API/functionalities/gdb_remote_client/TestNoWatchpointSupportInfo.py
@@ -1,4 +1,3 @@
-from __future__ import print_function
 import lldb
 from lldbsuite.test.lldbtest import *
 from lldbsuite.test.decorators import *
Index: lldb/test/API/functionalities/gdb_remote_client/TestNoGPacketSupported.py
===================================================================
--- lldb/test/API/functionalities/gdb_remote_client/TestNoGPacketSupported.py
+++ lldb/test/API/functionalities/gdb_remote_client/TestNoGPacketSupported.py
@@ -1,4 +1,3 @@
-from __future__ import print_function
 import lldb
 from lldbsuite.test.lldbtest import *
 from lldbsuite.test.decorators import *
Index: lldb/test/API/functionalities/gdb_remote_client/TestNestedRegDefinitions.py
===================================================================
--- lldb/test/API/functionalities/gdb_remote_client/TestNestedRegDefinitions.py
+++ lldb/test/API/functionalities/gdb_remote_client/TestNestedRegDefinitions.py
@@ -1,4 +1,3 @@
-from __future__ import print_function
 import lldb
 from lldbsuite.test.lldbtest import *
 from lldbsuite.test.decorators import *
Index: lldb/test/API/functionalities/gdb_remote_client/TestMultiprocess.py
===================================================================
--- lldb/test/API/functionalities/gdb_remote_client/TestMultiprocess.py
+++ lldb/test/API/functionalities/gdb_remote_client/TestMultiprocess.py
@@ -1,4 +1,3 @@
-from __future__ import print_function
 import lldb
 import unittest
 from lldbsuite.test.lldbtest import *
Index: lldb/test/API/functionalities/gdb_remote_client/TestJLink6Armv7RegisterDefinition.py
===================================================================
--- lldb/test/API/functionalities/gdb_remote_client/TestJLink6Armv7RegisterDefinition.py
+++ lldb/test/API/functionalities/gdb_remote_client/TestJLink6Armv7RegisterDefinition.py
@@ -1,4 +1,3 @@
-from __future__ import print_function
 import lldb
 from lldbsuite.test.lldbtest import *
 from lldbsuite.test.decorators import *
Index: lldb/test/API/functionalities/gdb_remote_client/TestGDBServerTargetXML.py
===================================================================
--- lldb/test/API/functionalities/gdb_remote_client/TestGDBServerTargetXML.py
+++ lldb/test/API/functionalities/gdb_remote_client/TestGDBServerTargetXML.py
@@ -1,4 +1,3 @@
-from __future__ import print_function
 import lldb
 from lldbsuite.test.lldbtest import *
 from lldbsuite.test.decorators import *
Index: lldb/test/API/functionalities/gdb_remote_client/TestGDBServerNoTargetXML.py
===================================================================
--- lldb/test/API/functionalities/gdb_remote_client/TestGDBServerNoTargetXML.py
+++ lldb/test/API/functionalities/gdb_remote_client/TestGDBServerNoTargetXML.py
@@ -1,4 +1,3 @@
-from __future__ import print_function
 import lldb
 from lldbsuite.test.lldbtest import *
 from lldbsuite.test.decorators import *
Index: lldb/test/API/functionalities/gdb_remote_client/TestFork.py
===================================================================
--- lldb/test/API/functionalities/gdb_remote_client/TestFork.py
+++ lldb/test/API/functionalities/gdb_remote_client/TestFork.py
@@ -1,4 +1,3 @@
-from __future__ import print_function
 import lldb
 import unittest
 from lldbsuite.test.lldbtest import *
Index: lldb/test/API/functionalities/gdb_remote_client/TestArmRegisterDefinition.py
===================================================================
--- lldb/test/API/functionalities/gdb_remote_client/TestArmRegisterDefinition.py
+++ lldb/test/API/functionalities/gdb_remote_client/TestArmRegisterDefinition.py
@@ -1,4 +1,3 @@
-from __future__ import print_function
 import lldb
 from lldbsuite.test.lldbtest import *
 from lldbsuite.test.decorators import *
Index: lldb/test/API/functionalities/gdb_remote_client/TestAArch64XMLRegOffsets.py
===================================================================
--- lldb/test/API/functionalities/gdb_remote_client/TestAArch64XMLRegOffsets.py
+++ lldb/test/API/functionalities/gdb_remote_client/TestAArch64XMLRegOffsets.py
@@ -1,4 +1,3 @@
-from __future__ import print_function
 from textwrap import dedent
 import lldb
 from lldbsuite.test.lldbtest import *
Index: lldb/test/API/functionalities/exec/TestExec.py
===================================================================
--- lldb/test/API/functionalities/exec/TestExec.py
+++ lldb/test/API/functionalities/exec/TestExec.py
@@ -1,8 +1,6 @@
 """
 Test some lldb command abbreviations.
 """
-from __future__ import print_function
-
 
 import lldb
 from lldbsuite.test.decorators import *
Index: lldb/test/API/functionalities/data-formatter/vector-types/TestVectorTypesFormatting.py
===================================================================
--- lldb/test/API/functionalities/data-formatter/vector-types/TestVectorTypesFormatting.py
+++ lldb/test/API/functionalities/data-formatter/vector-types/TestVectorTypesFormatting.py
@@ -2,9 +2,6 @@
 Check that vector types format properly
 """
 
-from __future__ import print_function
-
-
 import lldb
 from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbtest import *
Index: lldb/test/API/functionalities/data-formatter/dump_dynamic/TestDumpDynamic.py
===================================================================
--- lldb/test/API/functionalities/data-formatter/dump_dynamic/TestDumpDynamic.py
+++ lldb/test/API/functionalities/data-formatter/dump_dynamic/TestDumpDynamic.py
@@ -1,5 +1,3 @@
-from __future__ import absolute_import
-
 from lldbsuite.test import lldbinline
 
 lldbinline.MakeInlineTest(
Index: lldb/test/API/functionalities/data-formatter/data-formatter-synthval/TestDataFormatterSynthVal.py
===================================================================
--- lldb/test/API/functionalities/data-formatter/data-formatter-synthval/TestDataFormatterSynthVal.py
+++ lldb/test/API/functionalities/data-formatter/data-formatter-synthval/TestDataFormatterSynthVal.py
@@ -2,9 +2,6 @@
 Test lldb data formatter subsystem.
 """
 
-from __future__ import print_function
-
-
 import lldb
 from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbtest import *
Index: lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/atomic/TestLibCxxAtomic.py
===================================================================
--- lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/atomic/TestLibCxxAtomic.py
+++ lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/atomic/TestLibCxxAtomic.py
@@ -2,9 +2,6 @@
 Test lldb data formatter subsystem.
 """
 
-from __future__ import print_function
-
-
 import lldb
 from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbtest import *
Index: lldb/test/API/functionalities/data-formatter/data-formatter-python-synth/TestDataFormatterPythonSynth.py
===================================================================
--- lldb/test/API/functionalities/data-formatter/data-formatter-python-synth/TestDataFormatterPythonSynth.py
+++ lldb/test/API/functionalities/data-formatter/data-formatter-python-synth/TestDataFormatterPythonSynth.py
@@ -2,9 +2,6 @@
 Test lldb data formatter subsystem.
 """
 
-from __future__ import print_function
-
-
 import lldb
 from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbtest import *
Index: lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCNSNumber.py
===================================================================
--- lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCNSNumber.py
+++ lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCNSNumber.py
@@ -3,8 +3,6 @@
 Test lldb data formatter subsystem.
 """
 
-from __future__ import print_function
-
 import lldb
 from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbtest import *
Index: lldb/test/API/functionalities/conditional_break/TestConditionalBreak.py
===================================================================
--- lldb/test/API/functionalities/conditional_break/TestConditionalBreak.py
+++ lldb/test/API/functionalities/conditional_break/TestConditionalBreak.py
@@ -2,9 +2,6 @@
 Test conditionally break on a function and inspect its variables.
 """
 
-from __future__ import print_function
-
-
 import lldb
 from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbtest import *
Index: lldb/test/API/functionalities/breakpoint/move_nearest/TestMoveNearest.py
===================================================================
--- lldb/test/API/functionalities/breakpoint/move_nearest/TestMoveNearest.py
+++ lldb/test/API/functionalities/breakpoint/move_nearest/TestMoveNearest.py
@@ -1,6 +1,3 @@
-from __future__ import print_function
-
-
 import lldb
 from lldbsuite.test.lldbtest import *
 import lldbsuite.test.lldbutil as lldbutil
Index: lldb/test/API/functionalities/breakpoint/cpp/TestCPPBreakpointLocations.py
===================================================================
--- lldb/test/API/functionalities/breakpoint/cpp/TestCPPBreakpointLocations.py
+++ lldb/test/API/functionalities/breakpoint/cpp/TestCPPBreakpointLocations.py
@@ -2,9 +2,6 @@
 Test lldb breakpoint ids.
 """
 
-from __future__ import print_function
-
-
 import lldb
 from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbtest import *
Index: lldb/test/API/functionalities/breakpoint/breakpoint_in_delayslot/TestAvoidBreakpointInDelaySlot.py
===================================================================
--- lldb/test/API/functionalities/breakpoint/breakpoint_in_delayslot/TestAvoidBreakpointInDelaySlot.py
+++ lldb/test/API/functionalities/breakpoint/breakpoint_in_delayslot/TestAvoidBreakpointInDelaySlot.py
@@ -2,8 +2,6 @@
 Test specific to MIPS
 """
 
-from __future__ import print_function
-
 import re
 import lldb
 from lldbsuite.test.decorators import *
Index: lldb/test/API/functionalities/breakpoint/breakpoint_command/bktptcmd.py
===================================================================
--- lldb/test/API/functionalities/breakpoint/breakpoint_command/bktptcmd.py
+++ lldb/test/API/functionalities/breakpoint/breakpoint_command/bktptcmd.py
@@ -1,4 +1,3 @@
-from __future__ import print_function
 import side_effect
 
 def useless_function(first, second):
Index: lldb/test/API/functionalities/breakpoint/breakpoint_command/TestBreakpointCommandsFromPython.py
===================================================================
--- lldb/test/API/functionalities/breakpoint/breakpoint_command/TestBreakpointCommandsFromPython.py
+++ lldb/test/API/functionalities/breakpoint/breakpoint_command/TestBreakpointCommandsFromPython.py
@@ -2,9 +2,6 @@
 Test that you can set breakpoint commands successfully with the Python API's:
 """
 
-from __future__ import print_function
-
-
 import lldb
 from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbtest import *
Index: lldb/test/API/commands/watchpoints/watchpoint_events/TestWatchpointEvents.py
===================================================================
--- lldb/test/API/commands/watchpoints/watchpoint_events/TestWatchpointEvents.py
+++ lldb/test/API/commands/watchpoints/watchpoint_events/TestWatchpointEvents.py
@@ -1,8 +1,5 @@
 """Test that adding, deleting and modifying watchpoints sends the appropriate events."""
 
-from __future__ import print_function
-
-
 import lldb
 from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbtest import *
Index: lldb/test/API/commands/watchpoints/multiple_threads/TestWatchpointMultipleThreads.py
===================================================================
--- lldb/test/API/commands/watchpoints/multiple_threads/TestWatchpointMultipleThreads.py
+++ lldb/test/API/commands/watchpoints/multiple_threads/TestWatchpointMultipleThreads.py
@@ -2,9 +2,6 @@
 Test that lldb watchpoint works for multiple threads.
 """
 
-from __future__ import print_function
-
-
 import re
 import lldb
 from lldbsuite.test.decorators import *
Index: lldb/test/API/commands/register/register/register_command/TestRegisters.py
===================================================================
--- lldb/test/API/commands/register/register/register_command/TestRegisters.py
+++ lldb/test/API/commands/register/register/register_command/TestRegisters.py
@@ -2,9 +2,6 @@
 Test the 'register' command.
 """
 
-from __future__ import print_function
-
-
 import os
 import sys
 import lldb
Index: lldb/test/API/commands/process/launch/TestProcessLaunch.py
===================================================================
--- lldb/test/API/commands/process/launch/TestProcessLaunch.py
+++ lldb/test/API/commands/process/launch/TestProcessLaunch.py
@@ -2,8 +2,6 @@
 Test lldb process launch flags.
 """
 
-from __future__ import print_function
-
 import os
 
 import lldb
Index: lldb/test/API/commands/expression/no-deadlock/TestExprDoesntBlock.py
===================================================================
--- lldb/test/API/commands/expression/no-deadlock/TestExprDoesntBlock.py
+++ lldb/test/API/commands/expression/no-deadlock/TestExprDoesntBlock.py
@@ -2,9 +2,6 @@
 Test that expr will time out and allow other threads to run if it blocks.
 """
 
-from __future__ import print_function
-
-
 import lldb
 from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbtest import *
Index: lldb/test/API/commands/command/source/my.py
===================================================================
--- lldb/test/API/commands/command/source/my.py
+++ lldb/test/API/commands/command/source/my.py
@@ -1,6 +1,3 @@
-from __future__ import print_function
-
-
 def date():
     import datetime
     today = datetime.date.today()
Index: lldb/test/API/commands/command/script_alias/tcsacmd.py
===================================================================
--- lldb/test/API/commands/command/script_alias/tcsacmd.py
+++ lldb/test/API/commands/command/script_alias/tcsacmd.py
@@ -1,4 +1,3 @@
-from __future__ import print_function
 import lldb
 
 
Index: lldb/test/API/commands/command/script/welcome.py
===================================================================
--- lldb/test/API/commands/command/script/welcome.py
+++ lldb/test/API/commands/command/script/welcome.py
@@ -1,4 +1,3 @@
-from __future__ import print_function
 import lldb
 import sys
 
Index: lldb/test/API/commands/command/script/mysto.py
===================================================================
--- lldb/test/API/commands/command/script/mysto.py
+++ lldb/test/API/commands/command/script/mysto.py
@@ -1,5 +1,3 @@
-from __future__ import print_function
-
 import lldb
 
 
Index: lldb/test/API/commands/command/script/import/thepackage/__init__.py
===================================================================
--- lldb/test/API/commands/command/script/import/thepackage/__init__.py
+++ lldb/test/API/commands/command/script/import/thepackage/__init__.py
@@ -1,5 +1,3 @@
-from __future__ import absolute_import
-
 from . import TPunitA
 from . import TPunitB
 
Index: lldb/test/API/commands/command/script/import/foo/foo2.py
===================================================================
--- lldb/test/API/commands/command/script/import/foo/foo2.py
+++ lldb/test/API/commands/command/script/import/foo/foo2.py
@@ -1,6 +1,3 @@
-from __future__ import print_function
-
-
 def foo2_function(debugger, args, result, dict):
     print("foo2 says " + args, file=result)
     return None
Index: lldb/test/API/commands/command/script/import/foo/foo.py
===================================================================
--- lldb/test/API/commands/command/script/import/foo/foo.py
+++ lldb/test/API/commands/command/script/import/foo/foo.py
@@ -1,6 +1,3 @@
-from __future__ import print_function
-
-
 def foo_function(debugger, args, result, dict):
     print("foo says " + args, file=result)
     return None
Index: lldb/test/API/commands/command/script/import/foo/bar/foobar.py
===================================================================
--- lldb/test/API/commands/command/script/import/foo/bar/foobar.py
+++ lldb/test/API/commands/command/script/import/foo/bar/foobar.py
@@ -1,6 +1,3 @@
-from __future__ import print_function
-
-
 def foo_function(debugger, args, result, dict):
     print("foobar says " + args, file=result)
     return None
Index: lldb/test/API/commands/command/script/import/bar/bar.py
===================================================================
--- lldb/test/API/commands/command/script/import/bar/bar.py
+++ lldb/test/API/commands/command/script/import/bar/bar.py
@@ -1,6 +1,3 @@
-from __future__ import print_function
-
-
 def bar_function(debugger, args, result, dict):
     global UtilityModule
     print(UtilityModule.barutil_function("bar told me " + args), file=result)
Index: lldb/test/API/commands/command/script/decorated.py
===================================================================
--- lldb/test/API/commands/command/script/decorated.py
+++ lldb/test/API/commands/command/script/decorated.py
@@ -1,5 +1,3 @@
-from __future__ import print_function
-
 import lldb
 
 
Index: lldb/test/API/commands/command/container/welcome.py
===================================================================
--- lldb/test/API/commands/command/container/welcome.py
+++ lldb/test/API/commands/command/container/welcome.py
@@ -1,4 +1,3 @@
-from __future__ import print_function
 import lldb
 import sys
 
Index: lldb/test/API/benchmarks/turnaround/TestCompileRunToBreakpointTurnaround.py
===================================================================
--- lldb/test/API/benchmarks/turnaround/TestCompileRunToBreakpointTurnaround.py
+++ lldb/test/API/benchmarks/turnaround/TestCompileRunToBreakpointTurnaround.py
@@ -1,8 +1,5 @@
 """Benchmark the turnaround time starting a debugger and run to the breakpoint with lldb vs. gdb."""
 
-from __future__ import print_function
-
-
 import sys
 import lldb
 from lldbsuite.test.lldbbench import *
Index: lldb/test/API/benchmarks/stepping/TestSteppingSpeed.py
===================================================================
--- lldb/test/API/benchmarks/stepping/TestSteppingSpeed.py
+++ lldb/test/API/benchmarks/stepping/TestSteppingSpeed.py
@@ -1,7 +1,5 @@
 """Test lldb's stepping speed."""
 
-from __future__ import print_function
-
 import sys
 import lldb
 from lldbsuite.test import configuration
Index: lldb/test/API/benchmarks/startup/TestStartupDelays.py
===================================================================
--- lldb/test/API/benchmarks/startup/TestStartupDelays.py
+++ lldb/test/API/benchmarks/startup/TestStartupDelays.py
@@ -1,8 +1,5 @@
 """Test lldb's startup delays creating a target, setting a breakpoint, and run to breakpoint stop."""
 
-from __future__ import print_function
-
-
 import sys
 import lldb
 from lldbsuite.test import configuration
Index: lldb/test/API/benchmarks/libcxxmap/TestBenchmarkLibcxxMap.py
===================================================================
--- lldb/test/API/benchmarks/libcxxmap/TestBenchmarkLibcxxMap.py
+++ lldb/test/API/benchmarks/libcxxmap/TestBenchmarkLibcxxMap.py
@@ -2,9 +2,6 @@
 Test lldb data formatter subsystem.
 """
 
-from __future__ import print_function
-
-
 import lldb
 from lldbsuite.test.lldbbench import *
 from lldbsuite.test.decorators import *
Index: lldb/test/API/benchmarks/libcxxlist/TestBenchmarkLibcxxList.py
===================================================================
--- lldb/test/API/benchmarks/libcxxlist/TestBenchmarkLibcxxList.py
+++ lldb/test/API/benchmarks/libcxxlist/TestBenchmarkLibcxxList.py
@@ -2,9 +2,6 @@
 Test lldb data formatter subsystem.
 """
 
-from __future__ import print_function
-
-
 import lldb
 from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbbench import *
Index: lldb/test/API/benchmarks/frame_variable/TestFrameVariableResponse.py
===================================================================
--- lldb/test/API/benchmarks/frame_variable/TestFrameVariableResponse.py
+++ lldb/test/API/benchmarks/frame_variable/TestFrameVariableResponse.py
@@ -1,8 +1,5 @@
 """Test lldb's response time for 'frame variable' command."""
 
-from __future__ import print_function
-
-
 import sys
 import lldb
 from lldbsuite.test import configuration
Index: lldb/test/API/benchmarks/expression/TestRepeatedExprs.py
===================================================================
--- lldb/test/API/benchmarks/expression/TestRepeatedExprs.py
+++ lldb/test/API/benchmarks/expression/TestRepeatedExprs.py
@@ -1,8 +1,5 @@
 """Test evaluating expressions repeatedly comparing lldb against gdb."""
 
-from __future__ import print_function
-
-
 import sys
 import lldb
 from lldbsuite.test.lldbbench import BenchBase
Index: lldb/test/API/benchmarks/expression/TestExpressionCmd.py
===================================================================
--- lldb/test/API/benchmarks/expression/TestExpressionCmd.py
+++ lldb/test/API/benchmarks/expression/TestExpressionCmd.py
@@ -1,8 +1,5 @@
 """Test lldb's expression evaluations and collect statistics."""
 
-from __future__ import print_function
-
-
 import sys
 import lldb
 from lldbsuite.test.decorators import *
Index: lldb/test/API/benchmarks/continue/TestBenchmarkContinue.py
===================================================================
--- lldb/test/API/benchmarks/continue/TestBenchmarkContinue.py
+++ lldb/test/API/benchmarks/continue/TestBenchmarkContinue.py
@@ -2,9 +2,6 @@
 Test lldb data formatter subsystem.
 """
 
-from __future__ import print_function
-
-
 import lldb
 from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbbench import *
Index: lldb/test/API/arm/emulation/TestEmulations.py
===================================================================
--- lldb/test/API/arm/emulation/TestEmulations.py
+++ lldb/test/API/arm/emulation/TestEmulations.py
@@ -2,9 +2,6 @@
 Test some ARM instruction emulation.
 """
 
-from __future__ import print_function
-
-
 import os
 import lldb
 from lldbsuite.test.decorators import *
Index: lldb/test/API/api/multithreaded/TestMultithreaded.py
===================================================================
--- lldb/test/API/api/multithreaded/TestMultithreaded.py
+++ lldb/test/API/api/multithreaded/TestMultithreaded.py
@@ -1,7 +1,5 @@
 """Test the lldb public C++ api breakpoint callbacks."""
 
-from __future__ import print_function
-
 # __package__ = "lldbsuite.test"
 
 
Index: lldb/test/API/api/multiple-targets/TestMultipleTargets.py
===================================================================
--- lldb/test/API/api/multiple-targets/TestMultipleTargets.py
+++ lldb/test/API/api/multiple-targets/TestMultipleTargets.py
@@ -1,8 +1,5 @@
 """Test the lldb public C++ api when creating multiple targets simultaneously."""
 
-from __future__ import print_function
-
-
 import os
 
 import lldb
Index: lldb/test/API/api/multiple-debuggers/TestMultipleDebuggers.py
===================================================================
--- lldb/test/API/api/multiple-debuggers/TestMultipleDebuggers.py
+++ lldb/test/API/api/multiple-debuggers/TestMultipleDebuggers.py
@@ -1,8 +1,5 @@
 """Test the lldb public C++ api when doing multiple debug sessions simultaneously."""
 
-from __future__ import print_function
-
-
 import os
 
 import lldb
Index: lldb/test/API/api/command-return-object/TestSBCommandReturnObject.py
===================================================================
--- lldb/test/API/api/command-return-object/TestSBCommandReturnObject.py
+++ lldb/test/API/api/command-return-object/TestSBCommandReturnObject.py
@@ -1,8 +1,5 @@
 """Test the lldb public C++ api for returning SBCommandReturnObject."""
 
-from __future__ import print_function
-
-
 from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbtest import *
 from lldbsuite.test import lldbutil
Index: lldb/test/API/api/check_public_api_headers/TestPublicAPIHeaders.py
===================================================================
--- lldb/test/API/api/check_public_api_headers/TestPublicAPIHeaders.py
+++ lldb/test/API/api/check_public_api_headers/TestPublicAPIHeaders.py
@@ -3,9 +3,6 @@
 There should be nothing unwanted there and a simpe main.cpp which includes SB*.h
 should compile and link with the LLDB framework."""
 
-from __future__ import print_function
-
-
 from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbtest import *
 from lldbsuite.test import lldbutil
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to