On Tue, May 3, 2011 at 11:18 AM, Ralf Gommers <ralf.gomm...@googlemail.com> wrote:
> I am pleased to announce the availability of the second release > candidate of NumPy 1.6.0. I get one failure when I run from ipython but not python. In ipython I import a few packages at startup. One of those packages must be changing the numpy error settings (would that explain it?). Should that be a failure? The failing test: class TestSeterr(TestCase): def test_default(self): err = geterr() self.assertEqual(err, dict( divide='warn', invalid='warn', over='warn', under='ignore', )) ====================================================================== FAIL: test_default (test_numeric.TestSeterr) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/lib/python2.6/dist-packages/numpy/core/tests/test_numeric.py", line 232, in test_default under='ignore', AssertionError: {'over': 'warn', 'divide': 'ignore', 'invalid': 'ignore', 'under': 'ignore'} != {'over': 'warn', 'divide': 'warn', 'invalid': 'warn', 'under': 'ignore'} ---------------------------------------------------------------------- _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion