summaryrefslogtreecommitdiff
path: root/tests/alarm_die.py
blob: a1519abac1d0f8fdba3b16a8f8da2da7cefc9d88 (plain)
1
2
3
4
5
import signal, time

signal.alarm(1) # Schedule SIGALRM in 1s

time.sleep(6)