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:
Miss Islington (bot) 2022-02-23 04:04:49 -08:00 committed by GitHub
parent 28d9353305
commit 6717edcf84
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 1 deletions

View file

@ -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):