mirror of https://github.com/chriskiehl/Gooey.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
369 B
19 lines
369 B
"""
|
|
Python file for Processor test suite
|
|
|
|
Short 1s loop which purposefully ignores
|
|
Keyboard Interrupts in order to continue
|
|
executing
|
|
"""
|
|
|
|
import time
|
|
import signal
|
|
end = time.time() + 0.5
|
|
|
|
while time.time() < end:
|
|
try:
|
|
print(time.time())
|
|
time.sleep(0.01)
|
|
except KeyboardInterrupt:
|
|
# Ignored!
|
|
print("You ain't stoppin me, fool")
|