From: Antoine Pitrou Date: Sat, 20 Jul 2013 17:36:15 +0000 (+0200) Subject: test_ssl: use a bytestring here X-Git-Tag: v3.4.0a1~129 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2894073e1ac339d3d8b72e6d3f7543da0cb237f1;p=python test_ssl: use a bytestring here --- diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py index 6998dda101..75dc2029b6 100644 --- a/Lib/test/test_ssl.py +++ b/Lib/test/test_ssl.py @@ -2324,7 +2324,7 @@ else: s.close() self.assertRaises(ValueError, s.read, 1024) - self.assertRaises(ValueError, s.write, 'hello') + self.assertRaises(ValueError, s.write, b'hello') def test_main(verbose=False):