Skip to content

Commit cc71bc6

Browse files
herobank110nicoddemus
authored andcommitted
change Generator to Iterator
Co-authored-by: Bruno Oliveira <[email protected]>
1 parent 4402f35 commit cc71bc6

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)