[Python-checkins] cpython: test_ssl: use a bytestring here
antoine.pitrou
python-checkins at python.org
Sat Jul 20 19:36:25 CEST 2013
http://hg.python.org/cpython/rev/759f27056d93
changeset: 84739:759f27056d93
user: Antoine Pitrou <solipsis at pitrou.net>
date: Sat Jul 20 19:36:15 2013 +0200
summary:
test_ssl: use a bytestring here
files:
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
--- a/Lib/test/test_ssl.py
+++ b/Lib/test/test_ssl.py
@@ -2324,7 +2324,7 @@
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):
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list