##// END OF EJS Templates
Fix printing test failures on Python 3
Thomas Kluyver -
Show More
@@ -28,6 +28,7 import subprocess
28 28 import time
29 29
30 30 from .iptest import have, test_group_names, test_sections
31 from IPython.utils.py3compat import bytes_to_str
31 32 from IPython.utils.sysinfo import sys_info
32 33 from IPython.utils.tempdir import TemporaryDirectory
33 34
@@ -269,7 +270,7 def run_iptestall(inc_slow=False, jobs=1, xunit_out=False, coverage_out=False):
269 270 res_string = 'OK' if res == 0 else 'FAILED'
270 271 print(justify('IPython test group: ' + controller.section, res_string))
271 272 if res:
272 print(controller.stdout)
273 print(bytes_to_str(controller.stdout))
273 274 failed.append(controller)
274 275 if res == -signal.SIGINT:
275 276 print("Interrupted")
General Comments 0
You need to be logged in to leave comments. Login now