projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
425717f
)
Pass _asyncio_internal=True into stream tests on windows (#13442)
author
Andrew Svetlov
<andrew.svetlov@gmail.com>
Mon, 20 May 2019 14:38:57 +0000
(17:38 +0300)
committer
GitHub
<noreply@github.com>
Mon, 20 May 2019 14:38:57 +0000
(17:38 +0300)
Lib/test/test_asyncio/test_windows_events.py
patch
|
blob
|
history
diff --git
a/Lib/test/test_asyncio/test_windows_events.py
b/Lib/test/test_asyncio/test_windows_events.py
index 05f85159be0cd5cbe44c0601cc38f09d350ce158..e201a0696796d68abeeedccd0edc69731a61e9b5 100644
(file)
--- a/
Lib/test/test_asyncio/test_windows_events.py
+++ b/
Lib/test/test_asyncio/test_windows_events.py
@@
-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)