Status: Valid
Owner: ----
Labels: Type-Defect Priority-Medium Printing Testing

New issue 3895 by [email protected]: mathml cannot be doctested
http://code.google.com/p/sympy/issues/detail?id=3895

mathml cannot be doctested, because the output is different in Python 2 and Python 3. In Python 2:

    >>> mathml(Integral(sqrt(1/x), x))
<apply><int/><bvar><ci>x</ci></bvar><apply><root/><apply><power/><ci>x</ci><cn>-1</cn></apply></apply></apply>

In Python 3:

    >>> mathml(Integral(sqrt(1/x), x))
    
'<apply><int/><bvar><ci>x</ci></bvar><apply><root/><apply><power/><ci>x</ci><cn>-1</cn></apply></apply></apply>'

(the difference is the quotes)

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" 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/sympy-issues.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to