OK, once I ignored the _mhash entry then an error showed up in the is_number routine for im(x). is_number(im(x)) comes back as False from the old routine and True from mine since im(x).diff(x) = 0. So apparently there was no test involving im(x) until the pickling tests and the different results from the original routine and my own caused something to change and the failure raised there before it could be raised in is_number. So I think the pickle tests are fine. Rather than shutting off the_mhash part of the test, shutting off caching had the same affect.
On Windows "set SYMPY_USE_CACHE=no" before running the test suite from python at the command window is a way to do this. It can be reset with "set SYMPY_USE_CACHE=yes". I'll add a note to the pickling test to suggest shutting off the cache if tests fail there. -- You received this message because you are subscribed to the Google Groups "sympy" 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?hl=en.
