MCPcopy Index your code
hub / github.com/python/cpython / test_open_connection

Method test_open_connection

Lib/test/test_asyncio/test_streams.py:54–57  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

52 self.assertEqual(messages, [])
53
54 def test_open_connection(self):
55 with test_utils.run_test_server() as httpd:
56 conn_fut = asyncio.open_connection(*httpd.address)
57 self._basetest_open_connection(conn_fut)
58
59 @socket_helper.skip_unless_bind_unix_socket
60 def test_open_unix_connection(self):

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected