unittest.removeHandler(function=None)
When called without arguments this function removes the control-c handler if it has been installed. This function can also be used as a test decorator to temporarily remove the handler whilst the test is being executed:
@unittest.removeHandler
def test_signal_handling(self):
...
Please login to continue.