[SciPy-user] module_test replacement

chris cdcasey at gmail.com
Fri Jan 23 18:58:32 EST 2009


Thanks, Robert. That really made things simple.

-Chris

On Fri, Jan 23, 2009 at 5:19 PM, Robert Kern <robert.kern at gmail.com> wrote:
> On Fri, Jan 23, 2009 at 17:13, chris <cdcasey at gmail.com> wrote:
>> I've inherited some code that uses module_test and module_test_suite
>> from scipy_test. As these things no longer exist, is there a
>> functional equivalent I can use for a simple refactor? Or perhaps a
>> nice workaround?
>
> Just delete the test() and test_suite() functions that use them and
> use nose as the test runner. Many of the test methods still use
> "check_*" instead of "test_*" so you can configure nose to collect
> those, too, or you can just search and replace to change them to
> "test_*".
>
> --
> 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
> _______________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-user
>



More information about the SciPy-User mailing list