Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Pytest 8.4 pytest.PytestReturnNotNoneWarning is now an exception #241

Open
@rossbar

Description

@rossbar

The recent release of pytest 8.4 has begun to cause failures in the pytest_mpl tests in the networkx test suite (networkx/networkx#8090).

AIUI, the crux of the problem is that pytest now raises whenever a test returns a non-None value, which conflicts with the design of the mpl_image_compare mark. See also pytest-dev/pytest#13477 for further context/links/discussion.

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