Skip to content

Fine-grained: Test "yield from" - #4968

Merged
JukkaL merged 2 commits into
masterfrom
fg-yield-from
Apr 26, 2018
Merged

JukkaL merged 2 commits into
masterfrom
fg-yield-from

Conversation

@JukkaL

@JukkaL JukkaL commented Apr 25, 2018

Copy link
Copy Markdown
Collaborator

Work towards #4951.

@ilevkivskyi ilevkivskyi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one suggestion.

yield 5
return A()

[out]

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would add a test where f is turned into a normal function (just in case).

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified that this works but left the test out since this seems unlikely to break (to conserve test running times).

@JukkaL
JukkaL merged commit bece3c4 into master Apr 26, 2018
@gvanrossum
gvanrossum deleted the fg-yield-from branch May 4, 2018 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants