test_ssl: use a bytestring here
This commit is contained in:
parent
60a26e0516
commit
2894073e1a
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue