Commit 7c7957fc authored by Patrick Wieschollek's avatar Patrick Wieschollek Committed by Yuxin Wu

Fix string decode issue for python3 (#294)

A binary representation `"\n" * 5 + "hh".encode('utf-8')` reproduces
the error from travis-ci.
parent 978efd20
......@@ -52,7 +52,7 @@ class PythonScript(threading.Thread):
else:
# something unexpected happend here, this script was supposed to survive at leat the timeout
if len(self.err) is not 0:
stderr = "\n" * 5 + self.err
stderr = "\n\n\n\n\n %s" % self.err
raise AssertionError(stderr)
......
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