Skip to content

Doctest-subpackage-requires is not used for testsetup #301

Description

@mhvk

As found over at astropy/astropy#18524, one can nicely insist that a given page should only be tested if a dependency is installed (e.g., using doctest_subpackage_requires = ... in pyproject.toml), but this only holds for the code in test cases, not for code in .. testsetup and .. testcleanup.

It would be lovely if those could be covered too!

Activity

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