##// END OF EJS Templates
run-tests: write bytes to sys.stdout.buffer in python 3
Augie Fackler -
r25040:6b8c48cf default
parent child Browse files
Show More
@@ -1989,7 +1989,10 class TestRunner(object):
1989 else:
1989 else:
1990 f = open(installerrs, 'rb')
1990 f = open(installerrs, 'rb')
1991 for line in f:
1991 for line in f:
1992 sys.stdout.write(line)
1992 if sys.version_info[0] > 2:
1993 sys.stdout.buffer.write(line)
1994 else:
1995 sys.stdout.write(line)
1993 f.close()
1996 f.close()
1994 sys.exit(1)
1997 sys.exit(1)
1995 os.chdir(self._testdir)
1998 os.chdir(self._testdir)
General Comments 0
You need to be logged in to leave comments. Login now