commit | bf10c47389d13b97e75855b262e077bfa688968c | [log] [tgz] |
---|---|---|
author | Bill Janssen <janssen@parc.com> | Sun Sep 16 23:16:46 2007 +0000 |
committer | Bill Janssen <janssen@parc.com> | Sun Sep 16 23:16:46 2007 +0000 |
tree | 703f32ca9b9bfd52aab458a0b9c1c244f2dd218d | |
parent | 296a59d3be01d6ac77fe674333104eb89fd5e695 [diff] |
use binary mode when reading files for testAsyncore to make Windows happy
diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py index 5f6d6a4..7e78b4c 100644 --- a/Lib/test/test_ssl.py +++ b/Lib/test/test_ssl.py
@@ -803,7 +803,7 @@ 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' % (