[lldb] Remove uses of six module (NFC)

With lldb (& llvm) requiring Python 3.6+, use of the `six` module can be removed.

Differential Revision: https://reviews.llvm.org/D131304
This commit is contained in:
Dave Lee
2022-08-05 13:35:20 -06:00
parent 256ba7738e
commit 56f9cfe30c
35 changed files with 114 additions and 209 deletions

View File

@@ -5,6 +5,7 @@ And other SBFrame API tests.
from __future__ import print_function
import io
import lldb
from lldbsuite.test.decorators import *
@@ -42,8 +43,7 @@ class FrameAPITestCase(TestBase):
# depth of 3 of the 'c' leaf function.
callsOfA = 0
from six import StringIO as SixStringIO
session = SixStringIO()
session = io.StringIO()
while process.GetState() == lldb.eStateStopped:
thread = lldbutil.get_stopped_thread(
process, lldb.eStopReasonBreakpoint)