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

Commit 5c0da17

Browse files
author
Matthias Koeppe
committed
src/sage/doctest/control.py: Add available package systems to optional tags
1 parent 14e9395 commit 5c0da17

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/sage/doctest/control.py

+3
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,9 @@ def __init__(self, options, args):
363363
if pkg['installed'] and pkg['installed_version'] == pkg['remote_version']:
364364
options.optional.add(pkg['name'])
365365

366+
from sage.features import package_systems
367+
options.optional.update(system.name for system in package_systems())
368+
366369
# Check that all tags are valid
367370
for o in options.optional:
368371
if not optionaltag_regex.search(o):

0 commit comments

Comments
 (0)