[Numpy-tickets] [NumPy] #443: ERROR: check_complex_bad (numpy.lib.tests.test_type_check.test_nan_to_num)

NumPy numpy-tickets@scipy....
Fri Feb 2 01:37:10 CST 2007


#443: ERROR: check_complex_bad (numpy.lib.tests.test_type_check.test_nan_to_num)
-----------------------+----------------------------------------------------
 Reporter:  nils       |       Owner:  somebody     
     Type:  defect     |      Status:  new          
 Priority:  normal     |   Milestone:  1.0.2 Release
Component:  numpy.lib  |     Version:  devel        
 Severity:  normal     |    Keywords:               
-----------------------+----------------------------------------------------
 {{{
 ======================================================================
 ERROR: check_complex_bad (numpy.lib.tests.test_type_check.test_nan_to_num)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/usr/lib64/python2.4/site-
 packages/numpy/lib/tests/test_type_check.py", line 245, in
 check_complex_bad
     vals = nan_to_num(v)
   File "/usr/lib64/python2.4/site-packages/numpy/lib/type_check.py", line
 132, in nan_to_num
     are_inf = isposinf(y)
   File "/usr/lib64/python2.4/site-packages/numpy/lib/ufunclike.py", line
 33, in isposinf
     umath.logical_and(isinf(x), ~signbit(x), y)
 TypeError: function not supported for these types, and can't coerce safely
 to supported types

 ======================================================================
 ERROR: check_complex_bad2
 (numpy.lib.tests.test_type_check.test_nan_to_num)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/usr/lib64/python2.4/site-
 packages/numpy/lib/tests/test_type_check.py", line 253, in
 check_complex_bad2
     vals = nan_to_num(v)
   File "/usr/lib64/python2.4/site-packages/numpy/lib/type_check.py", line
 132, in nan_to_num
     are_inf = isposinf(y)
   File "/usr/lib64/python2.4/site-packages/numpy/lib/ufunclike.py", line
 33, in isposinf
     umath.logical_and(isinf(x), ~signbit(x), y)
 TypeError: function not supported for these types, and can't coerce safely
 to supported types

 ======================================================================
 ERROR: check_complex_good
 (numpy.lib.tests.test_type_check.test_nan_to_num)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/usr/lib64/python2.4/site-
 packages/numpy/lib/tests/test_type_check.py", line 238, in
 check_complex_good
     vals = nan_to_num(1+1j)
   File "/usr/lib64/python2.4/site-packages/numpy/lib/type_check.py", line
 132, in nan_to_num
     are_inf = isposinf(y)
   File "/usr/lib64/python2.4/site-packages/numpy/lib/ufunclike.py", line
 33, in isposinf
     umath.logical_and(isinf(x), ~signbit(x), y)
 TypeError: function not supported for these types, and can't coerce safely
 to supported types

 ----------------------------------------------------------------------
 Ran 526 tests in 0.518s

 FAILED (errors=3)
 <unittest.TextTestRunner object at 0x2aaaae34ffd0>
 >>> numpy.__version__
 '1.0.2.dev3534'
 }}}

-- 
Ticket URL: <http://projects.scipy.org/scipy/numpy/ticket/443>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.


More information about the Numpy-tickets mailing list