diff --git a/testutils/tests/test_github.py b/testutils/tests/test_github.py index e3930b3..f6157dd 100644 --- a/testutils/tests/test_github.py +++ b/testutils/tests/test_github.py @@ -134,8 +134,7 @@ def __init__(self, issues): # pylint: disable=W0613 def get_issues(self, *args, **kwargs): - for issue in self.issues: - yield issue + yield from self.issues issues = [MockIssue(title) for title in issue_titles] repo = MockRepo(issues)