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

_pytest.compat.is_generator incorrectly identifies coroutine functions #2129

malinoff opened this issue Dec 11, 2016 · 0 comments

Comments

@malinoff
Copy link
Contributor

@malinoff 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
Use inspect to properly detect generators. Fixes #2129
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant