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

Commit 5c23cc9

Browse files
author
Matthias Koeppe
committed
DocTestReporter: Fix 'sage -t --optional=all'
1 parent 2b45b77 commit 5c23cc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sage/doctest/reporting.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def have_optional_tag(self, tag):
141141
False
142142
143143
"""
144-
if tag in self.controller.options.optional:
144+
if self.controller.options.optional is True or tag in self.controller.options.optional:
145145
return True
146146
if 'external' in self.controller.options.optional:
147147
if tag in available_software.seen():

0 commit comments

Comments
 (0)