Re: [Numpy-discussion] tests with generators & nose: a warning

2011-04-03 Thread Fernando Perez
On Sun, Apr 3, 2011 at 1:37 PM, Ralf Gommers wrote: > That indeed looks much more useful than the nose version. I searched a > bit on the ipython-devel list but couldn't find too much discussion > about the implementation. Would it be at all possible to let it not > stop after the first failure? E

Re: [Numpy-discussion] tests with generators & nose: a warning

2011-04-03 Thread Ralf Gommers
On Sun, Apr 3, 2011 at 9:04 PM, Fernando Perez wrote: > Hey, > > On Sun, Apr 3, 2011 at 7:10 AM, Ralf Gommers > wrote: >> Hi all, >> >> I just came across tests for allclose that were using generators and >> were in a subclass of unittest.TestCase. These tests won't run, nose >> does not support

Re: [Numpy-discussion] tests with generators & nose: a warning

2011-04-03 Thread Fernando Perez
Hey, On Sun, Apr 3, 2011 at 7:10 AM, Ralf Gommers wrote: > Hi all, > > I just came across tests for allclose that were using generators and > were in a subclass of unittest.TestCase. These tests won't run, nose > does not support this (see last line of > http://somethingaboutorange.com/mrl/projec

[Numpy-discussion] tests with generators & nose: a warning

2011-04-03 Thread Ralf Gommers
Hi all, I just came across tests for allclose that were using generators and were in a subclass of unittest.TestCase. These tests won't run, nose does not support this (see last line of http://somethingaboutorange.com/mrl/projects/nose/1.0.0/writing_tests.html). So if you write tests with "yield",