We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2224fbc commit a88a17bCopy full SHA for a88a17b
test/unit_test/critical_exit/critical_exit_test.py
@@ -1,3 +1,5 @@
1
+import sys
2
+
3
from je_auto_control import CriticalExit
4
from je_auto_control import keyboard_keys_table
5
from je_auto_control import press_keyboard_key
@@ -14,4 +16,4 @@
14
16
while True:
15
17
press_keyboard_key("f2")
18
except KeyboardInterrupt:
- pass
19
+ sys.exit(0)
test/unit_test/critical_exit/real_critical_test.py
@@ -24,3 +24,4 @@
24
print(repr(error), file=sys.stderr)
25
CriticalExit().init_critical_exit()
26
press_keyboard_key("f7")
27
0 commit comments