Skip to content

3.7.0: Fixture misses attribute #3747

@JohanLorenzo

Description

@JohanLorenzo

From #3742 (comment):

Hello! Thank you for this great library! The Mozilla release engineering team relies on it for several projects 😃

I just found a similar regression:

AttributeError: 'async_generator' object has no attribute 'put'

This async generator is a regular aiohttp.ClientSession() and is initialized here. This might be an integration issue with the pytest-asyncio plugin.

I rolled pytest back to 3.6.4 and things are back working. You can see both the failure and the workaround in

Example

I put up a minimal example over here: https://github.com/JohanLorenzo/pytest-fixture-bug-3747

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: needs informationreporter needs to provide more information; can be closed after 2 or more weeks of inactivity

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions