diff --git a/script/test/test_abort.py b/script/test/test_abort.py index 98745c9..ed766c2 100644 --- a/script/test/test_abort.py +++ b/script/test/test_abort.py @@ -21,16 +21,16 @@ import signal def on_abort(parent_thread): print ("abort") #ctype_async_raise(parent_thread, KeyboardInterrupt) - signal.raise_signal(signal.SIGINT) + signal.raise_signal(signal.SIGBREAK) -def handler(signum, frame): - print('Signal handler called with signal', signum) - - +#def handler(signum, frame): +# print('Signal handler called with signal', signum) +# # +# # Set the signal handler and a 5-second alarm -signal.signal(signal.SIGINT, handler) +#signal.signal(signal.SIGINT, handler) time.sleep(10.0) \ No newline at end of file