[SciPy-user] SciPy Test Error
Robert Kern
robert.kern at gmail.com
Thu May 18 15:54:56 EDT 2006
Gil Citro wrote:
> Thanks again for the help with the floating point exception. After
> installing the packages pointed to here
>
> http://www.its.caltech.edu/~astraw/coding.html#id3
>
> the floating point exception went away. However, I did get the error
> below. Unfortunately, it's not reproducible. If anyone has any
> suggestions about how to reproduce it, let me know. Otherwise it
> looks like SciPy is working for me. Thanks again.
>
> Gil
>
> ======================================================================
> FAIL: check_rvs (scipy.stats.tests.test_distributions.test_zipf)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/lib/python2.3/site-packages/scipy/stats/tests/test_distributions.py",
> line 174, in check_rvs
> assert(numpy.all(vals >= 1))
> AssertionError
>
> ----------------------------------------------------------------------
> Ran 1506 tests in 5.603s
Its one of the statistical tests of the pseudorandom number generators. They
will fail every once in a while if everything is working correctly. If they fail
every time, then there is a bug. I believe there is some code that exists to
repeat the test if it fails once, but I think *that* part is currently buggy.
--
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-User
mailing list