Status: Accepted
Owner: ----
CC: [email protected]
Labels: Type-Defect Priority-High

New issue 1488 by Vinzent.Steinberg: failing doctests
http://code.google.com/p/sympy/issues/detail?id=1488

When running ./setup.py test I'm getting this (current master):

Traceback (most recent call last):
   File "./setup.py", line 278, in <module>
     'clean' : clean,
   File "/usr/lib/python2.6/distutils/core.py", line 152, in setup
     dist.run_commands()
   File "/usr/lib/python2.6/distutils/dist.py", line 975, in run_commands
     self.run_command(cmd)
   File "/usr/lib/python2.6/distutils/dist.py", line 995, in run_command
     cmd_obj.run()
   File "./setup.py", line 167, in run
     sympy.doctest()
   File "/home/one/src/sympy/git/sympy/utilities/runtests.py", line 128, in
doctest
     runner.run(test)
   File "/home/one/src/sympy/git/sympy/utilities/runtests.py", line 175, in  
run
     return self.__run(test, compileflags, out)
   File "/home/one/src/sympy/git/sympy/utilities/runtests.py", line 279, 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'\u22c5' in
position 424: ordinal not in range(128)

Using a branch of Aaron:

Testing  doc/src/modules/logic.txt

**********************************************************************

File "doc/src/modules/logic.txt", line 19, in logic.txt

Failed example:

     x, y = smbols('xy')

Exception raised:

     Traceback (most recent call last):

       File "/usr/lib/python2.6/doctest.py", line 1241, in __run

         compileflags, 1) in test.globs

       File "<doctest logic.txt[1]>", line 1, in <module>

         x, y = smbols('xy')

     NameError: name 'smbols' is not defined

**********************************************************************

File "doc/src/modules/logic.txt", line 58, in logic.txt

Failed example:

     satisifiable(x & ~x)

Exception raised:

     Traceback (most recent call last):

       File "/usr/lib/python2.6/doctest.py", line 1241, in __run

         compileflags, 1) in test.globs

       File "<doctest logic.txt[12]>", line 1, in <module>

         satisifiable(x & ~x)

     NameError: name 'satisifiable' is not defined

**********************************************************************

1 items had failures:

    2 of  14 in logic.txt

***Test Failed*** 2 failures.

These are obviously only minor typos.


--
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to