#16252: optional doctest broken in oeis
-------------------------------------+-------------------------------------
       Reporter:  vdelecroix         |        Owner:  vdelecroix
           Type:  defect             |       Status:  needs_work
       Priority:  major              |    Milestone:  sage-6.2
      Component:  documentation      |   Resolution:
       Keywords:  oeis, doctest      |    Merged in:
        Authors:  vincent delecroix  |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/vdelecroix/16252                 |  458ad19a5d36dd5347685b1d5c046cf604a1ad04
   Dependencies:  #14567             |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by wluebbe):

 Hi Vincent,

 the browser is called in a doctest of {{{browse()}}} in line 1645 {{{sage:
 f = oeis(45) ; f}}}.

 This can be seen in my comment 5 where I changed {{{oeis(45)}}} to
 {{{oeis(10)}}}. The browser opened A000010. The message from Chromium then
 surfaced in the other (later) doctest from line 1735.

 Maybe this is (one more) hint that //some// test are better suited for a
 testing framework like [[https://pypi.python.org/pypi/nose/1.3.2|nose]] or
 [[https://pypi.python.org/pypi/pytest/2.5.2|py.test]]. But that's a whole
 new story ...

--
Ticket URL: <http://trac.sagemath.org/ticket/16252#comment:8>
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.

Reply via email to