[SciPy-user] module_test replacement
Fri Jan 23 17:58:32 CST 2009
Thanks, Robert. That really made things simple.
On Fri, Jan 23, 2009 at 5:19 PM, Robert Kern <firstname.lastname@example.org> wrote:
> On Fri, Jan 23, 2009 at 17:13, chris <email@example.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
> 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
More information about the SciPy-user