Skip to content

Fix compatibility with pytest >= 8.4 #232

Open
@youtux

Description

@youtux

pytest-dev/pytest#12473 introduced a change that is not compatible with what we currently do to access the original function from a fixture definition.
We should probably use _pytest.compat.get_real_func, but it needs more work, since it also unwraps partials, which we do use as the fixture func, so we need to adjust for that.

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