Re: [Numpy-discussion] broken numpy.core.tests.test_multiarray.TestScalarIndexing.SetUp

2008-04-17 Thread Anne Archibald
On 17/04/2008, Stéfan van der Walt <[EMAIL PROTECTED]> wrote: > On 17/04/2008, Robert Kern <[EMAIL PROTECTED]> wrote: > > > On Thu, Apr 17, 2008 at 1:21 PM, Eric Firing <[EMAIL PROTECTED]> wrote: > > > Arg! Cancel that! I didn't look carefully enough. How embarrassing! > > > Sorry for the n

Re: [Numpy-discussion] broken numpy.core.tests.test_multiarray.TestScalarIndexing.SetUp

2008-04-17 Thread Robert Kern
On Thu, Apr 17, 2008 at 5:40 PM, Stéfan van der Walt <[EMAIL PROTECTED]> wrote: > On 17/04/2008, Robert Kern <[EMAIL PROTECTED]> wrote: > > > On Thu, Apr 17, 2008 at 1:21 PM, Eric Firing <[EMAIL PROTECTED]> wrote: > > > Arg! Cancel that! I didn't look carefully enough. How embarrassing! > >

Re: [Numpy-discussion] broken numpy.core.tests.test_multiarray.TestScalarIndexing.SetUp

2008-04-17 Thread Stéfan van der Walt
On 17/04/2008, Robert Kern <[EMAIL PROTECTED]> wrote: > On Thu, Apr 17, 2008 at 1:21 PM, Eric Firing <[EMAIL PROTECTED]> wrote: > > Arg! Cancel that! I didn't look carefully enough. How embarrassing! > > Sorry for the noise. > > > Don't apologize. That is very odd code. Stefan, is there a rea

Re: [Numpy-discussion] broken numpy.core.tests.test_multiarray.TestScalarIndexing.SetUp

2008-04-17 Thread Robert Kern
On Thu, Apr 17, 2008 at 3:34 PM, Anne Archibald <[EMAIL PROTECTED]> wrote: > On 17/04/2008, Robert Kern <[EMAIL PROTECTED]> wrote: > > On Thu, Apr 17, 2008 at 1:21 PM, Eric Firing <[EMAIL PROTECTED]> wrote: > > > Arg! Cancel that! I didn't look carefully enough. How embarrassing! > > > Sor

Re: [Numpy-discussion] broken numpy.core.tests.test_multiarray.TestScalarIndexing.SetUp

2008-04-17 Thread Anne Archibald
On 17/04/2008, Robert Kern <[EMAIL PROTECTED]> wrote: > On Thu, Apr 17, 2008 at 1:21 PM, Eric Firing <[EMAIL PROTECTED]> wrote: > > Arg! Cancel that! I didn't look carefully enough. How embarrassing! > > Sorry for the noise. > > > Don't apologize. That is very odd code. Stefan, is there a rea

Re: [Numpy-discussion] broken numpy.core.tests.test_multiarray.TestScalarIndexing.SetUp

2008-04-17 Thread Robert Kern
On Thu, Apr 17, 2008 at 1:21 PM, Eric Firing <[EMAIL PROTECTED]> wrote: > Arg! Cancel that! I didn't look carefully enough. How embarrassing! > Sorry for the noise. Don't apologize. That is very odd code. Stefan, is there a reason to form a 1-item tuple then do 1-item tuple unpacking everywher

Re: [Numpy-discussion] broken numpy.core.tests.test_multiarray.TestScalarIndexing.SetUp

2008-04-17 Thread Eric Firing
Arg! Cancel that! I didn't look carefully enough. How embarrassing! Sorry for the noise. Eric 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): > d

[Numpy-discussion] broken numpy.core.tests.test_multiarray.TestScalarIndexing.SetUp

2008-04-17 Thread Eric Firing
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])[0], def check_ellipsis_subscript(self): a, = self.d self.f