Commit 5466b67e authored by Kevin Modzelewski's avatar Kevin Modzelewski

Add a simple test for these issues

parent 43351fb2
import os
import signal
import threading
import time
def f():
time.sleep(0.1)
os.kill(os.getpid(), signal.SIGINT)
t = threading.Thread(target=f)
t.start()
def g():
while True:
-(0.2 ** 5)
try:
g()
assert 0
except KeyboardInterrupt:
pass
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment