Comment #2 on issue 1502 by ondrej.certik: rst doc testing stop working...
http://code.google.com/p/sympy/issues/detail?id=1502
In fact, it doesn't even run with:
python2.6 bin/doctest doc/src/modules/functions.txt
============================= test process starts
==============================
executable: /usr/bin/python2.6 (2.6.2-final-0)
=================== tests finished: 0 passed in 0.00 seconds
===================
Testing doc/src/guide.txt
Failed 0, tested 0
Testing doc/src/aboutus.txt
Failed 0, tested 0
Testing doc/src/sympy-patches-tutorial.txt
Failed 0, tested 0
Testing doc/src/python-comparisons.txt
Failed 0, tested 0
Testing doc/src/index.txt
Failed 0, tested 0
Testing doc/src/modules.txt
Failed 0, tested 0
**********************************************************************
File "doc/src/tutorial.txt", line 685, in doc/src/tutorial.txt
Failed example:
(x**2).match(p*x**q)
Expected:
{p_: 1, q_: 2}
Got:
{q_: 2, p_: 1}
Traceback (most recent call last):
File "bin/doctest", line 30, in <module>
"blacklist": blacklist})
File "/home/ondrej/repos/sympy/sympy/utilities/runtests.py", line 136, in
doctest
runner.run(test)
File "/home/ondrej/repos/sympy/sympy/utilities/runtests.py", line 155, in
run
compileflags, out, clear_globs)
File "/usr/lib/python2.6/doctest.py", line 1374, in run
return self.__run(test, compileflags, out)
File "/usr/lib/python2.6/doctest.py", line 1290, in __run
self.report_failure(out, test, example, got)
File "/usr/lib/python2.6/doctest.py", line 1154, in report_failure
self._checker.output_difference(example, got, self.optionflags))
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2500' in
position 209:
ordinal not in range(128)
so I have disabled running the rest doc completely, until this is fixed.
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sympy-issues?hl=en
-~----------~----~----~----~------~----~------~--~---