mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
test_ssl: use a bytestring here
This commit is contained in:
parent
60a26e0516
commit
2894073e1a
1 changed files with 1 additions and 1 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue