Skip to content

Commit 182236b

Browse files
committed
Update real_critical_test.py
add sleep make sure init is done
1 parent a47d2fb commit 182236b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/unit_test/critical_exit/real_critical_test.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
simulate you can't use your mouse because you use while true to set mouse position
1414
"""
1515
try:
16+
from time import sleep
17+
sleep(3)
1618
while True:
1719
set_position(200, 400)
1820
set_position(400, 600)

0 commit comments

Comments
 (0)