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

Method make_iostream_pair

tornado/test/iostream_test.py:1270–1273  ·  view source on GitHub ↗
(self, **kwargs)

Source from the content-addressed store, hash-verified

1268class TestPipeIOStream(TestReadWriteMixin, AsyncTestCase):
1269 @gen.coroutine
1270 def make_iostream_pair(self, **kwargs):
1271 r, w = os.pipe()
1272
1273 return PipeIOStream(r, **kwargs), PipeIOStream(w, **kwargs)
1274
1275 @gen_test
1276 def test_pipe_iostream(self):

Callers 3

test_pipe_iostreamMethod · 0.95
__aenter__Method · 0.45

Calls 1

PipeIOStreamClass · 0.90

Tested by

no test coverage detected