[SciPy-dev] assert_approx_equal in testing.py [Was: Testing stats.py] [with attachment]
pearu at cens.ioc.ee
Thu Oct 31 16:19:56 CST 2002
On Thu, 31 Oct 2002, Louis Luangkesorn wrote:
> --- Travis Oliphant <oliphant at ee.byu.edu> wrote:
> > > Travis
> > >
> > > 1. check_kurtosis changed
> > > 2. check_2d error
> > >
> > Thanks for the help. I'm including these tests in the CVS
> > tree, today.
> > But, I first have to correct errors I'm getting with them...
> Oops, I think this may be my fault. Their is a problem in the
> unittesting functions. The attached def assert_approx_equal()
> belongs in \scipy_base\testing.py to replace the version that
> was there previously.
There is no scipy_base/testing.py anymore. testing.py is moved to
> The previous version does not handle 0 or negative numbers well (I say
> that as the person who wrote the original version. Note, this version
> of the function has not been tested in any systematic way.)
scipy_test/testing.py already contains a fix for negative numbers.
More information about the Scipy-dev