[LLDB] Remove __future__ imports from tests
Not needed now that we require python 3. Reviewed By: kastiglione, JDevlieghere Differential Revision: https://reviews.llvm.org/D131761
This commit is contained in:
@@ -11,9 +11,6 @@ SBCommandReturnObject, SBStream, and SBSymbolContextList, are all valid objects
|
||||
after default construction.
|
||||
"""
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
|
||||
import lldb
|
||||
from lldbsuite.test.decorators import *
|
||||
from lldbsuite.test.lldbtest import *
|
||||
|
||||
@@ -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 *
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -2,9 +2,6 @@
|
||||
Test lldb Python event APIs.
|
||||
"""
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
|
||||
import re
|
||||
import lldb
|
||||
from lldbsuite.test.decorators import *
|
||||
|
||||
@@ -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 *
|
||||
|
||||
@@ -3,8 +3,6 @@ Use lldb Python SBFrame API to get the argument values of the call stacks.
|
||||
And other SBFrame API tests.
|
||||
"""
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
import io
|
||||
|
||||
import lldb
|
||||
|
||||
@@ -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 *
|
||||
|
||||
@@ -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 *
|
||||
|
||||
@@ -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 *
|
||||
|
||||
@@ -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 *
|
||||
|
||||
@@ -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 *
|
||||
|
||||
@@ -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 *
|
||||
|
||||
@@ -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 *
|
||||
|
||||
@@ -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 *
|
||||
|
||||
@@ -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 *
|
||||
|
||||
@@ -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 *
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
"""Test Python APIs for process IO."""
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
|
||||
import os
|
||||
import lldb
|
||||
from lldbsuite.test.decorators import *
|
||||
|
||||
@@ -2,8 +2,6 @@
|
||||
Test SBSymbolContext APIs.
|
||||
"""
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
import lldb
|
||||
from lldbsuite.test.decorators import *
|
||||
from lldbsuite.test.lldbtest import *
|
||||
|
||||
@@ -2,9 +2,6 @@
|
||||
Test SBTarget APIs.
|
||||
"""
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
|
||||
import unittest2
|
||||
import os
|
||||
import lldb
|
||||
|
||||
@@ -2,9 +2,6 @@
|
||||
Test SBThread APIs.
|
||||
"""
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
|
||||
import lldb
|
||||
from lldbsuite.test.decorators import *
|
||||
from lldbsuite.test.lldbtest import *
|
||||
|
||||
@@ -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 *
|
||||
|
||||
@@ -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 *
|
||||
|
||||
@@ -3,9 +3,6 @@ Test SBValue API linked_list_iter which treats the SBValue as a linked list and
|
||||
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 *
|
||||
|
||||
@@ -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 *
|
||||
|
||||
@@ -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 *
|
||||
|
||||
@@ -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 *
|
||||
|
||||
@@ -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 *
|
||||
|
||||
@@ -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 *
|
||||
|
||||
@@ -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 *
|
||||
|
||||
Reference in New Issue
Block a user