MCPcopy Index your code
hub / github.com/RustPython/RustPython / pipe

Method pipe

Lib/test/test_threading.py:1532–1538  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1530
1531class SubinterpThreadingTests(BaseTestCase):
1532 def pipe(self):
1533 r, w = os.pipe()
1534 self.addCleanup(os.close, r)
1535 self.addCleanup(os.close, w)
1536 if hasattr(os, 'set_blocking'):
1537 os.set_blocking(r, False)
1538 return (r, w)
1539
1540 @unittest.expectedFailure # TODO: RUSTPYTHON
1541 def test_threads_join(self):

Callers 15

test_threads_joinMethod · 0.95
test_threads_join_2Method · 0.95
_get_handlesMethod · 0.45
_execute_childMethod · 0.45
setUpMethod · 0.45
test_pipesizesMethod · 0.45
test_pipesize_defaultMethod · 0.45
open_fdsMethod · 0.45
test_close_fdsMethod · 0.45
test_pass_fdsMethod · 0.45

Calls 2

hasattrFunction · 0.85
addCleanupMethod · 0.80

Tested by

no test coverage detected