MCPcopy
hub / github.com/tornadoweb/tornado / connect

Method connect

tornado/test/tcpserver_test.py:93–99  ·  view source on GitHub ↗
(c)

Source from the content-addressed store, hash-verified

91
92 @gen.coroutine
93 def connect(c):
94 try:
95 yield c.connect(server_addr)
96 except OSError:
97 pass
98 else:
99 connected_clients.append(c)
100
101 yield [connect(c) for c in clients]
102

Callers 14

do_test_connectMethod · 0.45
test_refused_ipv4Method · 0.45
test_connect_timeoutMethod · 0.45
test_read_until_closeMethod · 0.45
test_read_zero_bytesMethod · 0.45
test_future_interfaceMethod · 0.45
make_iostream_pairMethod · 0.45
setUpMethod · 0.45
asyncSetUpMethod · 0.45

Calls 1

appendMethod · 0.80

Tested by

no test coverage detected