Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

warnings re: deprecated pytest API with pytest 3.8 #12107

Closed
Milestone
@anntzer

Description

@anntzer

Running the test suite on master with pytest 3.8 gives a bunch of pytest internal warnings:

/home/antony/src/extern/matplotlib/lib/matplotlib/testing/conftest.py:37: 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  assert len(style_marker.args) == 1, \/home/antony/src/extern/matplotlib/lib/matplotlib/testing/conftest.py:39: 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  style = style_marker.args[0]/home/antony/src/extern/matplotlib/lib/matplotlib/testing/conftest.py:67: 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  baseline_images = request.keywords['baseline_images'].args[0]

@QuLogic looks like you wrote some of this (#7973), pinging you just in case you know how to update it :)

Note that we didn't see this on CI because CI uses pytest-xdist and the latter suppresses internal warnings (pytest-dev/pytest-xdist#338)...

I guess it would be moderately nice to fix this in 3.0 but it's certainly not release critical.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp