[Numpy-discussion] broken numpy.core.tests.test_multiarray.TestScalarIndexing.SetUp
Thu Apr 17 13:21:04 CDT 2008
Arg! Cancel that! I didn't look carefully enough. How embarrassing!
Sorry for the noise.
Eric Firing wrote:
> While trying to figure out how to write tests for "take", I stumbled
> across this in numpy.core.tests.test_multiarray.py:
> class TestScalarIndexing(NumpyTestCase):
> def setUp(self):
> self.d = array([0,1]),
> def check_ellipsis_subscript(self):
> a, = self.d
> self.failUnlessEqual(a[...], 0)
> setUp is clearly broken, but the numpy test suite still runs happily.
> This seems odd.
> Numpy-discussion mailing list
More information about the Numpy-discussion