aboutsummaryrefslogtreecommitdiff
path: root/lldb/test/API/python_api
diff options
context:
space:
mode:
authorDave Lee <davelee.com@gmail.com>2022-08-05 13:35:20 -0600
committerDave Lee <davelee.com@gmail.com>2022-08-11 19:06:15 -0700
commit56f9cfe30c4488aade888905bb6280ecb952a613 (patch)
tree99a60b9c61a4344203d3e645308bd4e871a7590a /lldb/test/API/python_api
parent256ba7738ea8a07372a82cadd29e9c08fdf9145c (diff)
downloadllvm-56f9cfe30c4488aade888905bb6280ecb952a613.zip
llvm-56f9cfe30c4488aade888905bb6280ecb952a613.tar.gz
llvm-56f9cfe30c4488aade888905bb6280ecb952a613.tar.bz2
[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
Diffstat (limited to 'lldb/test/API/python_api')
-rw-r--r--lldb/test/API/python_api/frame/TestFrames.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/test/API/python_api/frame/TestFrames.py b/lldb/test/API/python_api/frame/TestFrames.py
index d8721f2..06bb1d3 100644
--- a/lldb/test/API/python_api/frame/TestFrames.py
+++ b/lldb/test/API/python_api/frame/TestFrames.py
@@ -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)