summaryrefslogtreecommitdiff
path: root/Lib/test/test_ssl.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_ssl.py')
-rw-r--r--Lib/test/test_ssl.py2
1 files changed, 1 insertions, 1 deletions
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):