mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
GH-90352: fix _SelectorDatagramTransport to inherit from DatagramTransport (#98844)
This commit is contained in:
parent
c0f2a5ef91
commit
9bdec0aa45
3 changed files with 6 additions and 1 deletions
|
@ -1081,6 +1081,10 @@ class SelectorDatagramTransportTests(test_utils.TestCase):
|
|||
self.protocol.datagram_received.assert_called_with(
|
||||
b'data', ('0.0.0.0', 1234))
|
||||
|
||||
def test_transport_inheritance(self):
|
||||
transport = self.datagram_transport()
|
||||
self.assertIsInstance(transport, asyncio.DatagramTransport)
|
||||
|
||||
def test_read_ready_tryagain(self):
|
||||
transport = self.datagram_transport()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue