[SciPy-dev] tests for scipy.integrate
Pearu Peterson
pearu at scipy.org
Wed Nov 16 14:37:05 CST 2005
On Wed, 16 Nov 2005, Arnd Baecker wrote:
>> I am not familiar with writing tests. However I have attached a small
>> example,
>
> I also have no experience in writing unittests, but it
> seems pretty straightforward.
> For example looking at scipy/Lib/linalg/tests/test_basic.py
> suggests that one has to
> a) create a subdirectory called `tests`
> b) add a test file `test_<something>.py`, e.g. `test_simple.py`
> which contains
Right, the existing unittests are all good starters for learning how to
write tests.
> #################################################
> import scipy.base as Numeric
Hey, you can forget Numeric now:)
The rest of the example is fine.
Thanks,
Pearu
More information about the Scipy-dev
mailing list