[Scipy-tickets] [SciPy] #561: Test failures

SciPy scipy-tickets@scipy....
Thu Dec 13 15:46:49 CST 2007


#561: Test failures
------------------------+---------------------------------------------------
 Reporter:  nils        |       Owner:  somebody
     Type:  defect      |      Status:  new     
 Priority:  normal      |   Milestone:  0.7     
Component:  scipy.misc  |     Version:  devel   
 Severity:  normal      |    Keywords:          
------------------------+---------------------------------------------------
 Can someone confirm the test failures with latest svn  ?

 {{{
 ======================================================================
 FAIL: test_imresize (scipy.misc.tests.test_pilutil.TestPILUtil)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/usr/local/lib64/python2.5/site-
 packages/scipy/misc/tests/test_pilutil.py", line 18, in test_imresize
     assert_equal(im1.shape,(11,22))
   File "/usr/local/lib64/python2.5/site-packages/numpy/testing/utils.py",
 line 137, in assert_equal
     assert_equal(len(actual),len(desired),err_msg,verbose)
   File "/usr/local/lib64/python2.5/site-packages/numpy/testing/utils.py",
 line 145, in assert_equal
     assert desired == actual, msg
 AssertionError:
 Items are not equal:
  ACTUAL: 0
  DESIRED: 2

 ======================================================================
 FAIL: testip_fromimage (scipy.misc.tests.test_pilutil.TestPILUtil)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/usr/local/lib64/python2.5/site-
 packages/numpy/testing/parametric.py", line 67, in exec_test
     test(*args)
   File "/usr/local/lib64/python2.5/site-
 packages/scipy/misc/tests/test_pilutil.py", line 29, in tst_fromimage
     assert img.min() >= imin
 AssertionError

 ======================================================================
 FAIL: testip_fromimage (scipy.misc.tests.test_pilutil.TestPILUtil)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/usr/local/lib64/python2.5/site-
 packages/numpy/testing/parametric.py", line 67, in exec_test
     test(*args)
   File "/usr/local/lib64/python2.5/site-
 packages/scipy/misc/tests/test_pilutil.py", line 29, in tst_fromimage
     assert img.min() >= imin
 AssertionError

 ======================================================================
 FAIL: testip_fromimage (scipy.misc.tests.test_pilutil.TestPILUtil)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/usr/local/lib64/python2.5/site-
 packages/numpy/testing/parametric.py", line 67, in exec_test
     test(*args)
   File "/usr/local/lib64/python2.5/site-
 packages/scipy/misc/tests/test_pilutil.py", line 29, in tst_fromimage
     assert img.min() >= imin
 AssertionError

 ----------------------------------------------------------------------
 Ran 1808 tests in 5.135s

 FAILED (failures=4)
 <unittest._TextTestResult run=1808 errors=0 failures=4>
 }}}

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


More information about the Scipy-tickets mailing list