def pause(self, string = "Click to Continue test"):
""" Wait for the user to click a button to continue testing.
parameters:
[string] = Message to display to user
returns:
None
"""
self._wait()
try:
win32gui.MessageBox(0, string, "Pausing test...", 0)
except:
(ErrorType,ErrorValue,ErrorTB)=sys.exc_info()
print (sys.exc_info())
traceback.print_exc(ErrorTB)
else: return True
PAM30.py 文件源码
python
阅读 19
收藏 0
点赞 0
评论 0
评论列表
文章目录