[SciPy-dev] mimicking output of scipy.test() in other packages that use numpy.testing

Robert Kern robert.kern@gmail....
Thu Mar 5 16:09:31 CST 2009


On Thu, Mar 5, 2009 at 16:08, Stéfan van der Walt <stefan@sun.ac.za> wrote:
> 2009/3/5 Robert Kern <robert.kern@gmail.com>:
>> I would probably have test() functions in numpy.__init__ and
>> scipy.__init__ which would internally import the Tester, print out
>> these messages, then run Tester().test(*args, **kwds). I don't see a
>> real need for this information to be in the Tester class itself, just
>> the convenience {numpy,scipy}.test() functions.
>
> Although, a common way of calling tests is
>
> nosetests numpy
>
> which would not play well with the above.

"nosetests numpy" doesn't even touch nosetester.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
  -- Umberto Eco


More information about the Scipy-dev mailing list