summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_ssl.py
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2010-04-28 22:57:15 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2010-04-28 22:57:15 (GMT)
commit764b8780db08cf02891b2d7bdce920ae167f8188 (patch)
tree72cef1966bbfa3b7bec8cb8af0c8fd46fbd730b7 /Lib/test/test_ssl.py
parent45df820591c319061a625bdd99d7bbd2a26f8117 (diff)
downloadcpython-764b8780db08cf02891b2d7bdce920ae167f8188.zip
cpython-764b8780db08cf02891b2d7bdce920ae167f8188.tar.gz
cpython-764b8780db08cf02891b2d7bdce920ae167f8188.tar.bz2
Fix test failure with -bb
Diffstat (limited to 'Lib/test/test_ssl.py')
-rw-r--r--Lib/test/test_ssl.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py
index b03c45f..acc0915 100644
--- a/Lib/test/test_ssl.py
+++ b/Lib/test/test_ssl.py
@@ -376,14 +376,14 @@ else:
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")