mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
bpo-38242: Revert "bpo-36889: Merge asyncio streams (GH-13251)" (#16482)
See https://bugs.python.org/issue38242 for more details
This commit is contained in:
parent
3667e1ee6c
commit
6758e6e12a
13 changed files with 381 additions and 2755 deletions
|
|
@ -58,10 +58,9 @@ class BaseTestBufferedProtocol(func_tests.FunctionalTestCaseMixin):
|
|||
writer.close()
|
||||
await writer.wait_closed()
|
||||
|
||||
with self.assertWarns(DeprecationWarning):
|
||||
srv = self.loop.run_until_complete(
|
||||
asyncio.start_server(
|
||||
on_server_client, '127.0.0.1', 0))
|
||||
srv = self.loop.run_until_complete(
|
||||
asyncio.start_server(
|
||||
on_server_client, '127.0.0.1', 0))
|
||||
|
||||
addr = srv.sockets[0].getsockname()
|
||||
self.loop.run_until_complete(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue