Skip to content

_pytest.compat.is_generator incorrectly identifies coroutine functions #2129

Closed
@malinoff

Description

@malinoff

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions