MCPcopy Create free account
hub / github.com/python/cpython / _test_ignore

Method _test_ignore

Lib/test/_test_multiprocessing.py:5949–5956  ·  view source on GitHub ↗
(cls, conn)

Source from the content-addressed store, hash-verified

5947
5948 @classmethod
5949 def _test_ignore(cls, conn):
5950 def handler(signum, frame):
5951 pass
5952 signal.signal(signal.SIGUSR1, handler)
5953 conn.send('ready')
5954 x = conn.recv()
5955 conn.send(x)
5956 conn.send_bytes(b'x' * cls.CONN_MAX_SIZE)
5957
5958 @warnings_helper.ignore_fork_in_thread_deprecation_warnings()
5959 @unittest.skipUnless(hasattr(signal, 'SIGUSR1'), 'requires SIGUSR1')

Callers

nothing calls this directly

Calls 3

sendMethod · 0.45
recvMethod · 0.45
send_bytesMethod · 0.45

Tested by

no test coverage detected