Skip to content

problems with mutations to async generators #406

@ulrikjohansson

Description

@ulrikjohansson

I ran into mutmut run stopping b.c pytest execution failed.

Basically, I have an async function with yield inside it. When I run mutmut python fails b.c that has suddenly become a non-async generator instead, so it can't be used in an async for statement.

I'm not sure if this is a proper bug, or just something I'm configuring wrong

I have a small repro repo here: https://github.com/ulrikjohansson/mutmut_test

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions