Re: [Numpy-discussion] A couple of testing issues

2008-07-09 Thread Robert Kern
On Wed, Jul 9, 2008 at 14:35, Alan McIntyre <[EMAIL PROTECTED]> wrote: > On Wed, Jul 9, 2008 at 3:26 PM, Robert Kern <[EMAIL PROTECTED]> wrote: >> I don't think it's worth automating on every run. People can see for >> themselves if they have any such check_methods() and make the >> conversion once

Re: [Numpy-discussion] A couple of testing issues

2008-07-09 Thread Alan McIntyre
On Wed, Jul 9, 2008 at 3:26 PM, Robert Kern <[EMAIL PROTECTED]> wrote: > I don't think it's worth automating on every run. People can see for > themselves if they have any such check_methods() and make the > conversion once: Does this fall into the "how in the world should I have known to do that"

Re: [Numpy-discussion] A couple of testing issues

2008-07-09 Thread Robert Kern
On Wed, Jul 9, 2008 at 14:26, Robert Kern <[EMAIL PROTECTED]> wrote: > On Wed, Jul 9, 2008 at 14:19, Alan McIntyre <[EMAIL PROTECTED]> wrote: > >> I can make a pass through all the test_* modules in the source tree >> under test and post a warning if "def check_" is found in them before >> handing

Re: [Numpy-discussion] A couple of testing issues

2008-07-09 Thread Robert Kern
On Wed, Jul 9, 2008 at 14:19, Alan McIntyre <[EMAIL PROTECTED]> wrote: > I can make a pass through all the test_* modules in the source tree > under test and post a warning if "def check_" is found in them before > handing things over to nose.Anyone else have thoughts on this? I don't think i

Re: [Numpy-discussion] A couple of testing issues

2008-07-09 Thread Alan McIntyre
On Wed, Jul 9, 2008 at 9:26 AM, Anne Archibald <[EMAIL PROTECTED]> wrote: >> - Test functions and methods will only be picked up based on name if >> they begin with "test"; "check_*" will no longer be seen as a test >> function. > > Is it possible to induce nose to pick these up and, if not actuall

Re: [Numpy-discussion] A couple of testing issues

2008-07-09 Thread Anne Archibald
2008/7/9 Alan McIntyre <[EMAIL PROTECTED]>: > - Test functions and methods will only be picked up based on name if > they begin with "test"; "check_*" will no longer be seen as a test > function. Is it possible to induce nose to pick these up and, if not actually run them, warn about them? It's n

[Numpy-discussion] A couple of testing issues

2008-07-08 Thread Alan McIntyre
Hi all, I wanted to point out a couple of things about the new test framework that you should keep in mind if you're writing tests: - Don't use NumpyTestCase any more, just use TestCase (which is available if you do from numpy.testing import *). Using NumpyTestCase now causes a deprecation warni