Revert "Resubmit r258759 with proper unicode handling."

This reverts commit 2c79d60214e146b13b233392a859b4f79340e90e.

llvm-svn: 258978
This commit is contained in:
Zachary Turner 2016-01-27 19:47:28 +00:00
parent ecfa524ee3
commit 95b533fe4b
2 changed files with 3 additions and 2 deletions

View File

@ -25,6 +25,7 @@ class Char1632TestCase(TestBase):
line_number(self.source, '// breakpoint2') ]
@expectedFailureIcc # ICC (13.1) does not emit the DW_TAG_base_type for char16_t and char32_t.
@expectedFailureWindows("llvm.org/pr24489: Name lookup not working correctly on Windows")
def test(self):
"""Test that the C++11 support for char16_t and char32_t works correctly."""
self.build()

View File

@ -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)