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

Method test_register_fd

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

Source from the content-addressed store, hash-verified

816 @unittest.skipIf(sys.platform == "win32",
817 "subprocess doesn't support pass_fds on Windows")
818 def test_register_fd(self):
819 with tempfile.TemporaryFile('wb+') as fp:
820 self.check_register(fd=fp.fileno())
821
822 def test_register_threads(self):
823 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