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
1 changed files with 1 additions and 1 deletions

View File

@ -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):