tests: Show some information for WaitForTimeout.
This commit is contained in:
parent
535bcab310
commit
c78bbd9fd0
@ -190,7 +190,8 @@ class Process(QObject):
|
||||
while True:
|
||||
got_signal = spy.wait(timeout)
|
||||
if not got_signal or elapsed_timer.hasExpired(timeout):
|
||||
raise WaitForTimeout
|
||||
raise WaitForTimeout("Timed out after {}ms waiting for "
|
||||
"{!r}.".format(timeout, kwargs))
|
||||
|
||||
for args in spy:
|
||||
assert len(args) == 1
|
||||
|
Loading…
Reference in New Issue
Block a user