Skip to content

Make #optional usable at a higher level #3260

@sagetrac-broune

Description

@sagetrac-broune

When adding optional spkgs to Sage, it is necessary to go through the Python interface file and put #optional on every single line of every single doctest, to indicate that those doctests should not be run.

It would be nice to be able to put #optional at, say, the top of the file, or in the docstring for the module or class, and then have that imply that every doctest within is optional.

CC: @mezzarobba

Component: doctest framework

Reviewer: Jeroen Demeyer

Issue created by migration from https://trac.sagemath.org/ticket/3260

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