Skip to content

doctest -- get rid of the "feature" where docstrings with require, optional, and package all in them are automatically marked optional #4588

@williamstein

Description

@williamstein

This "feature" that I introduced years ago is incredibly confusing. 3 people at least got very confused by this in the last 3-4 days.

To close this ticket:

  1. remove this functionality from local/bin/sage-test

  2. rewrite all the files that use this by tediously marking each optional line with #optional. This is tedious, but it is much much clearer what is going on.

Note -- only do this after apply #4583, which already does some of part 2 above.

Component: doctest coverage

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

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions