Skip to content

Commit 786aa1e

Browse files
change Generator to Iterator
Co-authored-by: Bruno Oliveira <[email protected]>
1 parent 66b5264 commit 786aa1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pytestqt/qtbot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,7 @@ def waitCallback(
644644
return blocker
645645

646646
@contextlib.contextmanager
647-
def captureExceptions(self) -> Generator["CapturedExceptions", None, None]:
647+
def captureExceptions(self) -> Iterator["CapturedExceptions"]:
648648
"""
649649
.. versionadded:: 2.1
650650

0 commit comments

Comments
 (0)