Skip to content

Commit c0bb438

Browse files
committed
ignore attrdefined
1 parent 373ea8d commit c0bb438

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/pytestqt/qtbot.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -733,14 +733,14 @@ def mouseRelease(*args, **kwargs):
733733

734734

735735
# provide easy access to exceptions to qtbot fixtures
736-
QtBot.SignalEmittedError = SignalEmittedError
737-
QtBot.TimeoutError = TimeoutError
738-
QtBot.ScreenshotError = ScreenshotError
739-
QtBot.CallbackCalledTwiceError = CallbackCalledTwiceError
736+
QtBot.SignalEmittedError = SignalEmittedError # type: ignore[attr-defined]
737+
QtBot.TimeoutError = TimeoutError # type: ignore[attr-defined]
738+
QtBot.ScreenshotError = ScreenshotError # type: ignore[attr-defined]
739+
QtBot.CallbackCalledTwiceError = CallbackCalledTwiceError # type: ignore[attr-defined]
740740

741741

742742
def _add_widget(
743-
item: object,
743+
item,
744744
widget: "QWidget",
745745
*,
746746
before_close_func: Optional[BeforeCloseFunc] = None,

0 commit comments

Comments
 (0)