Skip to content

MarkInfo objects are deprecated #291

Closed

Description

@sseliverstov

allure_pytest/utils.py:60: RemovedInPytest4Warning: MarkInfo objects are deprecated as they contain merged marks which are hard to deal with correctly.
Please use node.get_closest_marker(name) or node.iter_markers(name).
Docs: https://docs.pytest.org/en/latest/mark.html#updating-code

Activity

  1. Sup3rGeo commented on Oct 4, 2018

    @Sup3rGeo
    Contributor

    I actually worked on this PR without having seen that this issue was already opened almost one month ago. Hope it could still be useful at least.

  2. added a commit that references this issue on Oct 5, 2018
    97ee3c9
  3. added a commit that references this issue on Nov 18, 2020
    0493068
  4. added a commit that references this issue on Apr 10, 2023
    fd01d09
  5. added a commit that references this issue on Mar 19, 2024
    e014abb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions