summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/lldbtest.py
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2016-01-27 19:47:28 +0000
committerZachary Turner <zturner@google.com>2016-01-27 19:47:28 +0000
commit95b533fe4b5a2603f11a6c967319d4ab0ef865ff (patch)
treea7d2210168180757740b4450ba48873cc03672b8 /lldb/packages/Python/lldbsuite/test/lldbtest.py
parentecfa524ee3397bb96e74974576726db6fcc1cb41 (diff)
downloadbcm5719-llvm-95b533fe4b5a2603f11a6c967319d4ab0ef865ff.tar.gz
bcm5719-llvm-95b533fe4b5a2603f11a6c967319d4ab0ef865ff.zip
Revert "Resubmit r258759 with proper unicode handling."
This reverts commit 2c79d60214e146b13b233392a859b4f79340e90e. llvm-svn: 258978
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lldbtest.py')
-rw-r--r--lldb/packages/Python/lldbsuite/test/lldbtest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/lldbtest.py b/lldb/packages/Python/lldbsuite/test/lldbtest.py
index e5fdd6e6faf..61355a86129 100644
--- a/lldb/packages/Python/lldbsuite/test/lldbtest.py
+++ b/lldb/packages/Python/lldbsuite/test/lldbtest.py
@@ -262,7 +262,7 @@ class recording(SixStringIO):
if self.trace:
print(self.getvalue(), file=sys.stderr)
if self.session:
- print(self.getvalue().encode(), file=self.session)
+ print(self.getvalue(), file=self.session)
self.close()
@add_metaclass(abc.ABCMeta)
@@ -1843,7 +1843,7 @@ class Base(unittest2.TestCase):
if not self.__unexpected__ and not self.__skipped__:
for test, traceback in pairs:
if test is self:
- print(traceback.encode(), file=self.session)
+ print(traceback, file=self.session)
# put footer (timestamp/rerun instructions) into session
testMethod = getattr(self, self._testMethodName)
OpenPOWER on IntegriCloud