[SciPy-dev] FAIL: test_imresize

Nils Wagner nwagner@iam.uni-stuttgart...
Tue Sep 11 13:35:43 CDT 2007


Hi all,

Can someone reproduce the following failures with latest 
svn
versions of numpy/scipy ?

scipy.test(1) yields

======================================================================
FAIL: test_imresize 
(scipy.misc.tests.test_pilutil.test_pilutil)
----------------------------------------------------------------------
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.test_pilutil)
----------------------------------------------------------------------
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.test_pilutil)
----------------------------------------------------------------------
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.test_pilutil)
----------------------------------------------------------------------
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


Nils


More information about the Scipy-dev mailing list