Opened 10 years ago

Last modified 10 years ago

#12336 closed defect

The optional doctests in sage/databases/symbolic_data.py are misformatted so they are never run — at Initial Version

Reported by: was Owned by: mvngu
Priority: minor Milestone: sage-5.0
Component: doctest coverage Keywords:
Cc: mjo Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description

The format for optional tests is:

sage:   the_test   # optional - package_or_other_name

But in databases/symbolic_data.py, we find

sage: search_src('optional', 'database_symbo')
databases/symbolic_data.py:33:    sage: sd = SymbolicData(); sd # optional requires database_symbolic_data
databases/symbolic_data.py:36:    sage: sd.ZeroDim__example_1 # optional requires database_symbolic_data
databases/symbolic_data.py:39:    sage: sd.Katsura_3 # optional requires database_symbolic_data
...

Using "requires" doesn't work, though you can optional put that after the dash.

Change History (1)

Changed 10 years ago by mjo

Fix optional syntax in symbolic_data.py

Note: See TracTickets for help on using tickets.