From: Collin Winter Date: Mon, 23 Jul 2007 00:24:10 +0000 (+0000) Subject: Fix test_poplib failures. X-Git-Tag: v3.0a1~593 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f86f285bdd3555e4a66ef3a3644353fe1a43e732;p=python Fix test_poplib failures. --- diff --git a/Lib/poplib.py b/Lib/poplib.py index 0caed18205..ead661fdac 100644 --- a/Lib/poplib.py +++ b/Lib/poplib.py @@ -123,7 +123,7 @@ class POP3: resp, o = self._getline() if self._debugging > 1: print('*resp*', repr(resp)) c = resp[:1] - if c != '+': + if c != b'+': raise error_proto(resp) return resp