On May 7, 2009, at 12:28 PM, Tony S Yu wrote:

This is just a heads up that a couple of the tests are failing under
numpy 1.3.0 (I believe everything worked in 1.2.x).
:
:
Here's a patch correcting the problem--- just for illustration
purposes (i.e., I'm not suggesting this patch be applied since it
would probably break the tests under numpy 1.2.x):

Even if it didn't break with numpy 1.2, I'm not sure it's the correct fix, but thanks for alerting us to the problem.



There seems to be a difference in how CellVariable and Variable are
evaluated in comparison operations. Similar tests using Variable work
fine.

Good symptom to know, thanks.

P.S. Strangely, when executing fipy/variables/variable.py directly
(instead of using ``python setup.py test``) many more test failures
showed up.

That's probably a known condition. There's a weird statefulness when running some of the tests that I think boil down to whether scipy has been imported yet. It's long been on my todo list to sort it out, as it shouldn't matter how you get to running the tests; they should either pass or fail consistently.


Reply via email to