Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/python/cpython
/ MyTransport
Class
MyTransport
Lib/test/test_asyncio/test_transports.py:33–35 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
31
writer = mock.Mock()
32
33
class
MyTransport(asyncio.Transport):
34
def
write(self, data):
35
writer(data)
36
37
transport = MyTransport()
38
Callers
2
test_writelines
Method · 0.85
test_flowcontrol_mixin_set_write_limits
Method · 0.85
Calls
no outgoing calls
Tested by
2
test_writelines
Method · 0.68
test_flowcontrol_mixin_set_write_limits
Method · 0.68
Used in the wild
real call sites across dependent graphs
searching dependent graphs…