mirror of
				https://github.com/python/cpython.git
				synced 2025-10-28 20:25:04 +00:00 
			
		
		
		
	use binary mode when reading files for testAsyncore to make Windows happy
This commit is contained in:
		
							parent
							
								
									296a59d3be
								
							
						
					
					
						commit
						bf10c47389
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -803,7 +803,7 @@ def testAsyncore(self): | |||
|             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' % ( | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Bill Janssen
						Bill Janssen