[Numpy-discussion] nose changes checked in

Alan McIntyre alan.mcintyre@gmail....
Wed Jun 18 12:16:10 CDT 2008


On Wed, Jun 18, 2008 at 11:42 AM, Anne Archibald
<peridot.faceted@gmail.com> wrote:
>> You can replace ParametricTest with generators, as described here:
>>     http://scipy.org/scipy/scipy/wiki/TestingGuidelines
>
> Hmm. This won't work with the current version of numpy, will it? That
> is, it needs nose. (I run much code on the work machines, which I
> (thankfully) do not administer, and which are running a variety of
> ancient versions of numpy (some even have only Numeric, to support
> horrible quasi-in-house C extensions).) So I'd like to write my tests
> in a way that they can run on both new and old versions of numpy.

Yes, right now the generator test method needs nose to work correctly.
 Once the old test framework stuff is added back, you should be able
to run 1.1 tests on 1.2.  When I'm adding that stuff back I'll also
add tests for numpy.testing to make sure the old test styles keep
working.


More information about the Numpy-discussion mailing list