test_ssl: use a bytestring here

This commit is contained in:
Antoine Pitrou 2013-07-20 19:36:15 +02:00
parent 60a26e0516
commit 2894073e1a

View file

@ -2324,7 +2324,7 @@ def test_read_write_after_close_raises_valuerror(self):
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):