diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2013-07-20 17:36:15 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2013-07-20 17:36:15 (GMT) |
commit | 2894073e1ac339d3d8b72e6d3f7543da0cb237f1 (patch) | |
tree | 9ee40ba6f9bc3ffb6d42623aed887f20a25c8094 /Lib/test/test_ssl.py | |
parent | 60a26e05162c5b6d3d67fa53bb2057b017f932b1 (diff) | |
download | cpython-2894073e1ac339d3d8b72e6d3f7543da0cb237f1.zip cpython-2894073e1ac339d3d8b72e6d3f7543da0cb237f1.tar.gz cpython-2894073e1ac339d3d8b72e6d3f7543da0cb237f1.tar.bz2 |
test_ssl: use a bytestring here
Diffstat (limited to 'Lib/test/test_ssl.py')
-rw-r--r-- | Lib/test/test_ssl.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py index 6998dda..75dc202 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): |