MCPcopy 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_writelinesMethod · 0.85

Calls

no outgoing calls

Tested by 2

test_writelinesMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…