Skip to content

MNT: Use version check instead of except for pytest>=7 #158

Closed
@pllim

Description

@pllim

This is a direct follow-up of #157. When checking for pytest>=7 becomes easy, we need to replace this code:

https://github.com/astropy/pytest-doctestplus/blob/afc77eb62bf5dce848a872ff2207107d8744db77/pytest_doctestplus/plugin.py#L470-L471

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