mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Pass _asyncio_internal=True into stream tests on windows (#13442)
This commit is contained in:
parent
425717fee1
commit
45a24b85f3
1 changed files with 4 additions and 2 deletions
|
@ -100,9 +100,11 @@ class ProactorTests(test_utils.TestCase):
|
|||
|
||||
clients = []
|
||||
for i in range(5):
|
||||
stream_reader = asyncio.StreamReader(loop=self.loop)
|
||||
stream_reader = asyncio.StreamReader(loop=self.loop,
|
||||
_asyncio_internal=True)
|
||||
protocol = asyncio.StreamReaderProtocol(stream_reader,
|
||||
loop=self.loop)
|
||||
loop=self.loop,
|
||||
_asyncio_internal=True)
|
||||
trans, proto = await self.loop.create_pipe_connection(
|
||||
lambda: protocol, ADDRESS)
|
||||
self.assertIsInstance(trans, asyncio.Transport)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue