Unit test error with numpy rc3

Rudolph van der Merwe rudolphv at gmail.com
Thu Oct 19 07:35:33 CDT 2006


I get the following error with RC3 on a RHE Linux box:

Python 2.4.3 (#4, Mar 31 2006, 12:12:43)
[GCC 3.4.5 20051201 (Red Hat 3.4.5-2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
>>> numpy.__version__
'1.0rc3'
>>> numpy.test()
  Found 5 tests for numpy.distutils.misc_util
  Found 3 tests for numpy.lib.getlimits
  Found 31 tests for numpy.core.numerictypes
  Found 32 tests for numpy.linalg
  Found 13 tests for numpy.core.umath
  Found 4 tests for numpy.core.scalarmath
  Found 9 tests for numpy.lib.arraysetops
  Found 42 tests for numpy.lib.type_check
  Found 183 tests for numpy.core.multiarray
  Found 3 tests for numpy.fft.helper
  Found 36 tests for numpy.core.ma
  Found 12 tests for numpy.lib.twodim_base
  Found 10 tests for numpy.core.defmatrix
  Found 1 tests for numpy.lib.ufunclike
  Found 4 tests for numpy.ctypeslib
  Found 41 tests for numpy.lib.function_base
  Found 2 tests for numpy.lib.polynomial
  Found 8 tests for numpy.core.records
  Found 26 tests for numpy.core.numeric
  Found 4 tests for numpy.lib.index_tricks
  Found 47 tests for numpy.lib.shape_base
  Found 0 tests for __main__
.......................................................................................................Warning:
invalid value encountered in divide
..Warning: invalid value encountered in divide
..Warning: divide by zero encountered in divide
.Warning: divide by zero encountered in divide
..Warning: invalid value encountered in divide
.Warning: divide by zero encountered in divide
.Warning: divide by zero encountered in divide
.Warning: divide by zero encountered in divide
.Warning: divide by zero encountered in divide
..Warning: invalid value encountered in divide
..Warning: invalid value encountered in divide
..Warning: divide by zero encountered in divide
.Warning: divide by zero encountered in divide
.Warning: divide by zero encountered in divide
.Warning: divide by zero encountered in divide
........Warning: invalid value encountered in divide
.Warning: invalid value encountered in divide
..Warning: divide by zero encountered in divide
........................................................................................................................................................................................................Warning:
divide by zero encountered in divide
Warning: divide by zero encountered in divide
Warning: divide by zero encountered in divide
Warning: divide by zero encountered in divide
Warning: divide by zero encountered in divide
Warning: divide by zero encountered in divide
Warning: divide by zero encountered in divide
Warning: divide by zero encountered in divide
Warning: divide by zero encountered in divide
.....................Warning: invalid value encountered in sqrt
Warning: invalid value encountered in log
Warning: invalid value encountered in log10
..Warning: invalid value encountered in sqrt
Warning: invalid value encountered in sqrt
Warning: divide by zero encountered in log
Warning: divide by zero encountered in log
Warning: divide by zero encountered in log10
Warning: divide by zero encountered in log10
Warning: invalid value encountered in arcsin
Warning: invalid value encountered in arcsin
Warning: invalid value encountered in arccos
Warning: invalid value encountered in arccos
Warning: invalid value encountered in arccosh
Warning: invalid value encountered in arccosh
Warning: divide by zero encountered in arctanh
Warning: divide by zero encountered in arctanh
Warning: invalid value encountered in divide
Warning: invalid value encountered in true_divide
Warning: invalid value encountered in floor_divide
Warning: invalid value encountered in remainder
Warning: invalid value encountered in fmod
...............................................................................................................................................................
----------------------------------------------------------------------
Ran 516 tests in 0.368s

OK
<unittest.TextTestRunner object at 0xb7abf46c>
>>>

-- 
Rudolph van der Merwe
KAT (Karoo Array Telescope) / www.kat.ac.za

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642




More information about the Numpy-discussion mailing list