[Numpy-discussion] ANN: Numpy 1.6.0 release candidate 2

Keith Goodman kwgoodman at gmail.com
Tue May 3 19:45:52 EDT 2011


On Tue, May 3, 2011 at 11:18 AM, Ralf Gommers
<ralf.gommers at 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'}

----------------------------------------------------------------------



More information about the NumPy-Discussion mailing list