Skip to content

Commit

Permalink
src/sage/doctest/__main__.py: Make doctest insensitive to env var SAG…
Browse files Browse the repository at this point in the history
…E_DOCTEST_RANDOM_SEED
  • Loading branch information
mkoeppe committed Aug 27, 2024
1 parent 4e57bf6 commit 01ce6d7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/sage/doctest/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ def _make_parser():
sage: from sage.doctest.control import DocTestDefaults
sage: from sage.doctest.__main__ import _make_parser
sage: os.environ.pop('SAGE_DOCTEST_RANDOM_SEED', None)
...
sage: parser = _make_parser()
sage: args = parser.parse_args([])
sage: DD = DocTestDefaults(runtest_default=True); DD
Expand Down

0 comments on commit 01ce6d7

Please sign in to comment.