Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

_pytest.compat.is_generator incorrectly identifies coroutine functions #2129

Closed
malinoff opened this Issue Dec 11, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@malinoff
Copy link
Contributor

malinoff commented Dec 11, 2016

https://gist.github.com/malinoff/148507bf51ff8b9a0a947c178aa0ac3a

I don't know what exactly, but something magical definitely happens during _pytest._code import.

nicoddemus added a commit to malinoff/pytest that referenced this issue Dec 14, 2016

nicoddemus added a commit that referenced this issue Dec 28, 2016

Merge pull request #2130 from malinoff/fix-2129
Use inspect to properly detect generators. Fixes #2129

This was referenced Mar 5, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.