mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
bpo-32410: Implement loop.sock_sendfile() (#4976)
This commit is contained in:
parent
c495e799ed
commit
6b5a27975a
8 changed files with 609 additions and 0 deletions
|
@ -2555,6 +2555,8 @@ class AbstractEventLoopTests(unittest.TestCase):
|
|||
await loop.sock_connect(f, f)
|
||||
with self.assertRaises(NotImplementedError):
|
||||
await loop.sock_accept(f)
|
||||
with self.assertRaises(NotImplementedError):
|
||||
await loop.sock_sendfile(f, mock.Mock())
|
||||
with self.assertRaises(NotImplementedError):
|
||||
await loop.connect_read_pipe(f, mock.sentinel.pipe)
|
||||
with self.assertRaises(NotImplementedError):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue