Comment #8 on issue 1502 by ondrej.certik: rst doc testing stop working...
http://code.google.com/p/sympy/issues/detail?id=1502
I think the problem is that you are *not* calling this setup function:
def setup_pprint():
from sympy import pprint_use_unicode
# force pprint to be in ascii mode in doctests
pprint_use_unicode(False)
# hook our nice, hash-stable strprinter
from sympy.interactive import init_printing
from sympy.printing import sstrrepr
init_printing(sstrrepr)
when doctesting the .rst docs, see sympy/utilities/runtests.py, line 347.
This is a
big problem, python2.4 or not, since once python changes its hasing
function (as it
did from python2.4 to 2.5), all docs will break yet again, also this might
work on 32
bits, but not 64bits.
Once you call the above function before doctesting the file, then all dicts
are
guaranteed to be ordered in a hash independent way. Then we are fine and we
don't
have to think about this anymore.
--
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
-~----------~----~----~----~------~----~------~--~---