Kaydet (Commit) bf10c473 authored tarafından Bill Janssen's avatar Bill Janssen

use binary mode when reading files for testAsyncore to make Windows happy

üst 296a59d3
......@@ -803,7 +803,7 @@ else:
try:
if test_support.verbose:
sys.stdout.write('\n')
d1 = open(CERTFILE, 'r').read()
d1 = open(CERTFILE, 'rb').read()
d2 = ''
# now fetch the same data from the HTTPS server
url = 'https://127.0.0.1:%d/%s' % (
......
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