mirror of
https://github.com/python/cpython.git
synced 2025-08-19 00:00:48 +00:00
Inherit asyncio proactor datagram transport from asyncio.DatagramTransport (GH-31512) (GH-31514)
(cherry picked from commit cff4d5c5d2
)
Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
This commit is contained in:
parent
28d9353305
commit
6717edcf84
3 changed files with 5 additions and 1 deletions
|
@ -838,6 +838,7 @@ class BaseProactorEventLoopTests(test_utils.TestCase):
|
|||
def test_make_datagram_transport(self):
|
||||
tr = self.datagram_transport()
|
||||
self.assertIsInstance(tr, _ProactorDatagramTransport)
|
||||
self.assertIsInstance(tr, asyncio.DatagramTransport)
|
||||
close_transport(tr)
|
||||
|
||||
def test_datagram_loop_writing(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue