Lines Matching defs:signal
5 # made to work using the same method as the existing signal tests in test_io.
13 import signal
78 Also validates that Python signal handlers are run during the read.
82 before sending it a signal, confirming the signal was handled,
93 # Start a subprocess to call our read method while handling a signal.
96 'import signal, sys ;'
97 'signal.signal(signal.SIGINT, '
107 # Wait for the signal handler to be installed.
118 # loop waits for a bit before sending the first signal to increase
120 # and signal handling usually fail this test.
123 self._process.send_signal(signal.SIGINT)
132 self.fail_with_process_info('while awaiting signal',
137 # the read call that was interrupted by a signal before the end of