Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
DocTestReporter: Fix 'sage -t --optional=all'
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Jul 19, 2021
1 parent 2b45b77 commit 5c23cc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/doctest/reporting.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def have_optional_tag(self, tag):
False
"""
if tag in self.controller.options.optional:
if self.controller.options.optional is True or tag in self.controller.options.optional:
return True
if 'external' in self.controller.options.optional:
if tag in available_software.seen():
Expand Down

0 comments on commit 5c23cc9

Please sign in to comment.