MCPcopy Index your code
hub / github.com/python/cpython / test_register_fd

Method test_register_fd

Lib/test/test_faulthandler.py:817–819  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

815 @unittest.skipIf(sys.platform == "win32",
816 "subprocess doesn't support pass_fds on Windows")
817 def test_register_fd(self):
818 with tempfile.TemporaryFile('wb+') as fp:
819 self.check_register(fd=fp.fileno())
820
821 def test_register_threads(self):
822 self.check_register(all_threads=True)

Callers

nothing calls this directly

Calls 2

check_registerMethod · 0.95
filenoMethod · 0.45

Tested by

no test coverage detected