[Numpy-tickets] [NumPy] #975: Formatting unit tests failure on windows + 2.6

NumPy numpy-tickets@scipy....
Mon Dec 22 23:55:35 CST 2008


#975: Formatting unit tests failure on windows + 2.6
--------------------+-------------------------------------------------------
 Reporter:  cdavid  |       Owner:  somebody
     Type:  defect  |      Status:  new     
 Priority:  normal  |   Milestone:  1.3.0   
Component:  Other   |     Version:  none    
 Severity:  normal  |    Keywords:          
--------------------+-------------------------------------------------------
 Harmless, but still annoying:

 {{{
 ======================================================================
 FAIL: Check formatting.
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "C:\Python26\Lib\site-packages\numpy\core\tests\test_print.py",
 line 28, in test_complex_types
     assert_equal(str(t(x)), str(complex(x)))
   File "C:\Python26\Lib\site-packages\numpy\testing\utils.py", line 183,
 in assert_equal
     raise AssertionError(msg)
 AssertionError:
 Items are not equal:
  ACTUAL: '(1e+020+0j)'
  DESIRED: '(1e+20+0j)'

 ======================================================================
 FAIL: Check formatting.
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "C:\Python26\Lib\site-packages\numpy\core\tests\test_print.py",
 line 16, in test_float_types
     assert_equal(str(t(x)), str(float(x)))
   File "C:\Python26\Lib\site-packages\numpy\testing\utils.py", line 183,
 in assert_equal
     raise AssertionError(msg)
 AssertionError:
 Items are not equal:
  ACTUAL: '1e+020'
  DESIRED: '1e+20'
 }}}

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


More information about the Numpy-tickets mailing list