Skip to content

Add support for async (generator) fixtures #4

@malinoff

Description

@malinoff

https://github.com/pytest-dev/pytest-asyncio has a very convenient feature: async (generator) fixtures. I.e.

@pytest.fixture()
async def connection():
    async with Connection() as conn:
        yield conn

I'd like to also have async (generator) fixtures in pytest-curio.

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