Commit 83699cf5 authored by Stefan Behnel's avatar Stefan Behnel

Revert "Fix output encoding problems in the test runner with Py2.7 by...

Revert "Fix output encoding problems in the test runner with Py2.7 by replacing implicit calls to str() with (unicode) string concatenation."

This reverts commit 931710d8.
parent 931710d8
......@@ -1293,9 +1293,9 @@ class CythonCompileTestCase(unittest.TestCase):
error = str(exc)
stderr = prepare_captured(get_stderr())
if stderr:
print(u"Compiler output for module " + module + ":" + stderr)
print(u"Compiler output for module %s:\n%s" % (module, stderr))
if error is not None:
raise CompileError(error + u"\nCompiler output:\n" + stderr)
raise CompileError(u"%s\nCompiler output:\n%s" % (error, stderr))
finally:
os.chdir(cwd)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment