Skip to content

Commit dcaebcf

Browse files
committed
exceptions: Add qtbot note to all exceptions
1 parent 584b8ec commit dcaebcf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/pytestqt/exceptions.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,8 @@ class SignalEmittedError(Exception):
124124
125125
The exception thrown by :meth:`pytestqt.qtbot.QtBot.assertNotEmitted` if a
126126
signal was emitted unexpectedly.
127+
128+
Access via ``qtbot.SignalEmittedError``.
127129
"""
128130

129131

@@ -133,5 +135,7 @@ class CallbackCalledTwiceError(Exception):
133135
134136
The exception thrown by :meth:`pytestqt.qtbot.QtBot.waitCallback` if a
135137
callback was called twice.
138+
139+
Access via ``qtbot.CallbackCalledTwiceError``.
136140
"""
137141

0 commit comments

Comments
 (0)