#18257: fix symbolic/pynac.pyx doctests
-------------------------------------+-------------------------------------
       Reporter:  rws                |        Owner:
           Type:  defect             |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.8
      Component:  symbolics          |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Ralf Stephan       |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/rws/fix_symbolic_pynac_pyx_doctests|  
52ccd47dee6b0cb6da2ad6f3855942c84a36ac73
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by kcrisman):

 I'm not sure why but I still get
 {{{
 sage -t src/sage/symbolic/pynac.pyx
 **********************************************************************
 File "src/sage/symbolic/pynac.pyx", line 512, in
 sage.symbolic.pynac.py_latex_function_pystring
 Failed example:
     get_sfunction_from_serial(i) == foo
 Expected:
     True
 Got:
     False
 **********************************************************************
 File "src/sage/symbolic/pynac.pyx", line 514, in
 sage.symbolic.pynac.py_latex_function_pystring
 Failed example:
     py_latex_function_pystring(i, (x,y^z))
 Expected:
     'my args are: x, y^z'
 Got:
     '\\mathrm{bar}\\left(x, y^{z}\\right)'
 **********************************************************************
 File "src/sage/symbolic/pynac.pyx", line 603, in
 sage.symbolic.pynac.py_print_fderivative_for_doctests
 Failed example:
     get_sfunction_from_serial(i) == foo
 Expected:
     True
 Got:
     False
 **********************************************************************
 File "src/sage/symbolic/pynac.pyx", line 605, in
 sage.symbolic.pynac.py_print_fderivative_for_doctests
 Failed example:
     py_print_fderivative(i, (0, 1, 0, 1), (x, y^z))
 Expected:
     D[0, 1, 0, 1]func_with_args(x, y^z)
 Got:
     D[0, 1, 0, 1](foo)(x, y^z)
 **********************************************************************
 File "src/sage/symbolic/pynac.pyx", line 665, in
 sage.symbolic.pynac.py_latex_fderivative_for_doctests
 Failed example:
     get_sfunction_from_serial(i) == foo
 Expected:
     True
 Got:
     False
 **********************************************************************
 File "src/sage/symbolic/pynac.pyx", line 667, in
 sage.symbolic.pynac.py_latex_fderivative_for_doctests
 Failed example:
     py_latex_fderivative(i, (0, 1, 0, 1), (x, y^z))
 Expected:
     D[0, 1, 0, 1]func_with_args(x, y^z)
 Got:
     D[0, 1, 0, 1]\left(\mathrm{bar}\right)\left(x, y^{z}\right)
 **********************************************************************
 }}}
 when I have both this ticket and #15024 together.  Did I do something
 wrong?

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