#16252: optional doctest broken in oeis
-------------------------------------+-------------------------------------
Reporter: vdelecroix | Owner: vdelecroix
Type: defect | Status: needs_work
Priority: major | Milestone: sage-6.8
Component: doctest coverage | Resolution:
Keywords: oeis, doctest | Merged in:
Authors: Vincent | Reviewers: Wilfried Luebbe
Delecroix, Thierry Monteil | Work issues:
Report Upstream: N/A | Commit:
Branch: | 98a98842d6a51f6ca225162f575dc3ba9ea7ad3b
public/ticket/16252 | Stopgaps:
Dependencies: #18637 |
-------------------------------------+-------------------------------------
Comment (by tmonteil):
Replying to [comment:56 ncohen]:
> Instead of fixing the doctests by changing their expected output, we
should really test those features without relying on the exact text
received from the OEIS. These doctests are broken most of the time
nowadays.
>
> Nathann
The problem is that those doctests have a role of documentation, not test.
They are an illustration of some mathematical concept, hence the actual
text is important. In the last commit, the oeis calls are supposed to
illustrate things about:
- Genus of modular group Gamma_0(n),
- Motzkin numbers,
- species of simple graphs,
- Coefficients of a Bessel function,
not about testing Sage/oeis features, so writing indirect doctests that
will not show the results provided by the OEIS database might not be
interesting.
--
Ticket URL: <http://trac.sagemath.org/ticket/16252#comment:60>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.