diff --git a/script/test/test_abort.py b/script/test/test_abort.py index f82d9fd..6f54b47 100644 --- a/script/test/test_abort.py +++ b/script/test/test_abort.py @@ -1,3 +1,4 @@ +""" import ctypes def ctype_async_raise(thread, exception): tid=thread.ident @@ -14,11 +15,12 @@ def ctype_async_raise(thread, exception): ctypes.pythonapi.PyThreadState_SetAsyncExc(tid, NULL) raise SystemError("PyThreadState_SetAsyncExc failed") - +""" +#import signal def on_abort(parent_thread): print ("abort") - ctype_async_raise(parent_thread, KeyboardInterrupt) + #ctype_async_raise(parent_thread, KeyboardInterrupt) time.sleep(10.0) \ No newline at end of file