[Scipy-tickets] [SciPy] #1874: savemat test failure for OrderedDict on py33

SciPy Trac scipy-tickets@scipy....
Mon Mar 25 18:03:38 CDT 2013


#1874: savemat test failure for OrderedDict on py33
----------------------+-----------------------------------------------------
 Reporter:  rgommers  |       Owner:  mbrett
     Type:  defect    |      Status:  new   
 Priority:  normal    |   Milestone:  0.13.0
Component:  scipy.io  |     Version:  0.11.0
 Keywords:            |  
----------------------+-----------------------------------------------------
 Happens about half the time, code doesn't seem to care about ordering.
 Also an issue for 0.12.x, but not critical imho - will mark as knownfail
 on >= 3.3 there if this isn't fixed on time.

 Introduced in commit c91d47da9e9.

 {{{
 ======================================================================
 FAIL: test_mio.test_save_dict
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/usr/lib/python3/dist-packages/nose/case.py", line 198, in runTest
     self.test(*self.arg)
   File "/home/rgommers/Code/scipy/scipy/io/matlab/tests/test_mio.py", line
 591, in test_save_dict
     assert_array_equal(vals, ab_exp)
   File "/home/rgommers/.local/lib/python3.3/site-
 packages/numpy/testing/utils.py", line 719, in assert_array_equal
     verbose=verbose, header='Arrays are not equal')
   File "/home/rgommers/.local/lib/python3.3/site-
 packages/numpy/testing/utils.py", line 645, in assert_array_compare
     raise AssertionError(msg)
 AssertionError:
 Arrays are not equal

 (mismatch 100.0%)
  x: array([[([[2]], [[1]])]],
       dtype=[('b', 'O'), ('a', 'O')])
  y: array([[(1, 2)]],
       dtype=[('a', 'O'), ('b', 'O')])
 }}}

-- 
Ticket URL: <http://projects.scipy.org/scipy/ticket/1874>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list