[Scipy-tickets] [SciPy] #1408: ndimage.measurements test failure (py-32, win-64)

SciPy Trac scipy-tickets@scipy....
Mon Mar 14 15:26:45 CDT 2011


#1408: ndimage.measurements test failure (py-32, win-64)
---------------------------+------------------------------------------------
 Reporter:  rgommers       |       Owner:  somebody   
     Type:  defect         |      Status:  new        
 Priority:  normal         |   Milestone:  Unscheduled
Component:  scipy.ndimage  |     Version:  0.9.0      
 Keywords:                 |  
---------------------------+------------------------------------------------

Comment(by cjgohlke):

 This is (very likely) a duplicate of Ticket #1238. It is due to a known
 bug with x64-bit Visual C++ 2008. This test failure can be avoided:

 {{{

 Index: scipy/ndimage/tests/test_measurements.py
 ===================================================================
 --- scipy/ndimage/tests/test_measurements.py    (revision 7183)
 +++ scipy/ndimage/tests/test_measurements.py    (working copy)
 @@ -10,6 +10,7 @@
           np.int64, np.uint64,
           np.float32, np.float64]

 +np.mod(1., 1)  # silence fmod bug on win-amd64

  class Test_measurements_stats(TestCase):
      """ndimage.measurements._stats() is a utility function used by other
 functions."""

 }}}

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


More information about the Scipy-tickets mailing list