Skip to content

getfuncargvalue deprecation warning does set the proper stacklevel #2681

@pelme

Description

@pelme

Calling request.getfuncargvalue() gives this rather unhelpful message which makes it hard to figure out where the call happens:

...

=== warnings summary ===
system/test_asdf.py::test_fghj
  /bla/bla/bla/_pytest/fixtures.py:431: DeprecationWarning: use of getfuncargvalue is deprecated, use getfixturevalue
    DeprecationWarning)

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