[Python-checkins] r80603 - python/branches/py3k/Lib/test/test_ssl.py
antoine.pitrou
python-checkins at python.org
Thu Apr 29 00:57:15 CEST 2010
Author: antoine.pitrou
Date: Thu Apr 29 00:57:15 2010
New Revision: 80603
Log:
Fix test failure with -bb
Modified:
python/branches/py3k/Lib/test/test_ssl.py
Modified: python/branches/py3k/Lib/test/test_ssl.py
==============================================================================
--- python/branches/py3k/Lib/test/test_ssl.py (original)
+++ python/branches/py3k/Lib/test/test_ssl.py Thu Apr 29 00:57:15 2010
@@ -376,14 +376,14 @@
self.close()
return
elif (self.server.starttls_server and
- stripped == 'STARTTLS'):
+ stripped == b'STARTTLS'):
if support.verbose and self.server.connectionchatty:
sys.stdout.write(" server: read STARTTLS from client, sending OK...\n")
self.write(b"OK\n")
if not self.wrap_conn():
return
elif (self.server.starttls_server and self.sslconn
- and stripped == 'ENDTLS'):
+ and stripped == b'ENDTLS'):
if support.verbose and self.server.connectionchatty:
sys.stdout.write(" server: read ENDTLS from client, sending OK...\n")
self.write(b"OK\n")
More information about the Python-checkins
mailing list