summaryrefslogtreecommitdiffstats
path: root/lldb/test/functionalities
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2015-10-21 17:48:52 +0000
committerZachary Turner <zturner@google.com>2015-10-21 17:48:52 +0000
commit814236d6947dfcc4773517449da1e626e0472d3c (patch)
tree1cd1682d36b89654f22cc948a9d347142be1f0ca /lldb/test/functionalities
parentc96d0dd431638464173794abbded3b9afe1841f2 (diff)
downloadbcm5719-llvm-814236d6947dfcc4773517449da1e626e0472d3c.tar.gz
bcm5719-llvm-814236d6947dfcc4773517449da1e626e0472d3c.zip
Use six to portably handle module renames in Python 2 and 3
llvm-svn: 250915
Diffstat (limited to 'lldb/test/functionalities')
-rw-r--r--lldb/test/functionalities/launch_with_shellexpand/TestLaunchWithShellExpand.py1
-rw-r--r--lldb/test/functionalities/paths/TestPaths.py1
-rw-r--r--lldb/test/functionalities/rerun/TestRerun.py1
-rw-r--r--lldb/test/functionalities/stop-hook/TestStopHookCmd.py3
4 files changed, 2 insertions, 4 deletions
diff --git a/lldb/test/functionalities/launch_with_shellexpand/TestLaunchWithShellExpand.py b/lldb/test/functionalities/launch_with_shellexpand/TestLaunchWithShellExpand.py
index f499178c3c2..e6bd49ad2d7 100644
--- a/lldb/test/functionalities/launch_with_shellexpand/TestLaunchWithShellExpand.py
+++ b/lldb/test/functionalities/launch_with_shellexpand/TestLaunchWithShellExpand.py
@@ -1,7 +1,6 @@
"""
Test that argdumper is a viable launching strategy.
"""
-import commands
import lldb
import os
import time
diff --git a/lldb/test/functionalities/paths/TestPaths.py b/lldb/test/functionalities/paths/TestPaths.py
index c581cccc8e7..c9245b03e6b 100644
--- a/lldb/test/functionalities/paths/TestPaths.py
+++ b/lldb/test/functionalities/paths/TestPaths.py
@@ -1,7 +1,6 @@
"""
Test some lldb command abbreviations.
"""
-import commands
import lldb
import os
import time
diff --git a/lldb/test/functionalities/rerun/TestRerun.py b/lldb/test/functionalities/rerun/TestRerun.py
index b1b5465eb42..1a0430fad68 100644
--- a/lldb/test/functionalities/rerun/TestRerun.py
+++ b/lldb/test/functionalities/rerun/TestRerun.py
@@ -1,7 +1,6 @@
"""
Test that argdumper is a viable launching strategy.
"""
-import commands
import lldb
import os
import time
diff --git a/lldb/test/functionalities/stop-hook/TestStopHookCmd.py b/lldb/test/functionalities/stop-hook/TestStopHookCmd.py
index 14017c7a8cf..df94835e380 100644
--- a/lldb/test/functionalities/stop-hook/TestStopHookCmd.py
+++ b/lldb/test/functionalities/stop-hook/TestStopHookCmd.py
@@ -2,9 +2,10 @@
Test lldb target stop-hook command.
"""
+import lldb_shared
+
import os
import unittest2
-import StringIO
import lldb
from lldbtest import *
import lldbutil
OpenPOWER on IntegriCloud