From 764b8780db08cf02891b2d7bdce920ae167f8188 Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Wed, 28 Apr 2010 22:57:15 +0000 Subject: Fix test failure with -bb --- Lib/test/test_ssl.py | 4 ++-- 1 file 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") -- cgit v0.12