Skip to content

Node.get_closest_marker default kwarg deprecation #13354

@azariiva

Description

@azariiva

I passed pytest.Mark as a default. Now we have deprecation warning and no alternative to pass default to Node.get_closest_marker.

I think that overload of Node.get_closest_marker with default kwarg should be deprecated or we should have alternative way to pass default.

commit, where deprecation warning of pytest.Mark.__init__ was added: 2ec372d

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: marksrelated to marks, either the general marks or builtin

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions