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
Closed

Comments

@malinoff
Copy link
Contributor

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
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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant