File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -170,14 +170,14 @@ raising
170
170
.. versionadded :: 1.4
171
171
172
172
Additionally, you can pass ``raising=True `` to raise a
173
- :class: `SignalTimeoutError ` if the timeout is reached before the signal
174
- is triggered::
173
+ :class: `qtbot. SignalTimeoutError <SignalTimeoutError> ` if the timeout is
174
+ reached before the signal is triggered::
175
175
176
176
def test_long_computation(qtbot):
177
177
...
178
178
with qtbot.waitSignal(app.worker.finished, raising=True) as blocker:
179
179
app.worker.start()
180
- # if timeout is reached, SignalTimeoutError will be raised at this point
180
+ # if timeout is reached, qtbot. SignalTimeoutError will be raised at this point
181
181
assert_application_results(app)
182
182
183
183
@@ -199,7 +199,7 @@ the new ``raising`` parameter::
199
199
w.start()
200
200
201
201
# this will be reached after all workers emit their "finished"
202
- # signal or a SignalTimeoutError will be raised
202
+ # signal or a qtbot. SignalTimeoutError will be raised
203
203
assert_application_results(app)
204
204
205
205
Exceptions in virtual methods
You can’t perform that action at this time.
0 commit comments