[Scipy-tickets] [SciPy] #406: Two failures wrt scipy.weave.test(1)

SciPy scipy-tickets@scipy....
Wed Apr 25 05:52:58 CDT 2007


#406: Two failures wrt scipy.weave.test(1)
-------------------------+--------------------------------------------------
 Reporter:  nils         |       Owner:  somebody
     Type:  defect       |      Status:  new     
 Priority:  normal       |   Milestone:          
Component:  scipy.weave  |     Version:  devel   
 Severity:  normal       |    Keywords:          
-------------------------+--------------------------------------------------
 {{{
 >>> scipy.weave.test()
   Found 1 tests for scipy.weave.ast_tools
   Found 2 tests for scipy.weave.blitz_tools
   Found 9 tests for scipy.weave.build_tools
   Found 0 tests for scipy.weave.c_spec
   Found 26 tests for scipy.weave.catalog
 building extensions here: /home/nwagner/.python24_compiled/m0
   Found 1 tests for scipy.weave.ext_tools
   Found 0 tests for scipy.weave.inline_tools
   Found 74 tests for scipy.weave.size_check
   Found 16 tests for scipy.weave.slice_handler
   Found 3 tests for scipy.weave.standard_array_spec
   Found 0 tests for scipy.weave.wx_spec
   Found 0 tests for __main__
 ...warning: specified build_dir '_bad_path_' does not exist or is not
 writable. Trying default locations
 ...warning: specified build_dir '..' does not exist or is not writable.
 Trying default locations
 ..warning: specified build_dir '_bad_path_' does not exist or is not
 writable. Trying default locations
 ...warning: specified build_dir '..' does not exist or is not writable.
 Trying default locations
 ...copying /home/nwagner/.python24_compiled/linux224compiled_catalog ->
 /tmp/tmpCKUrfH
 copying /tmp/tmpCKUrfH/linux224compiled_catalog ->
 /home/nwagner/.python24_compiled
 .........copying /home/nwagner/.python24_compiled/linux224compiled_catalog
 -> /tmp/tmp_6jott
 copying /tmp/tmp_6jott/linux224compiled_catalog ->
 /home/nwagner/.python24_compiled
 .copying /home/nwagner/.python24_compiled/linux224compiled_catalog ->
 /tmp/tmpdi1MbC
 copying /tmp/tmpdi1MbC/linux224compiled_catalog ->
 /home/nwagner/.python24_compiled
 ............removing '/tmp/tmpAflWlQcat_test' (and everything under it)
 .removing '/tmp/tmpaaPECWcat_test' (and everything under it)
 ..............................F..F.............................................................
 ======================================================================
 FAIL: check_1d_3
 (scipy.weave.tests.test_size_check.test_dummy_array_indexing)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/usr/lib64/python2.4/site-
 packages/scipy/weave/tests/test_size_check.py", line 168, in check_1d_3
     self.generic_1d('a[-11:]')
   File "/usr/lib64/python2.4/site-
 packages/scipy/weave/tests/test_size_check.py", line 135, in generic_1d
     self.generic_wrap(a,expr)
   File "/usr/lib64/python2.4/site-
 packages/scipy/weave/tests/test_size_check.py", line 127, in generic_wrap
     self.generic_test(a,expr,desired)
   File "/usr/lib64/python2.4/site-
 packages/scipy/weave/tests/test_size_check.py", line 123, in generic_test
     assert_array_equal(actual,desired, expr)
   File "/usr/lib64/python2.4/site-packages/numpy/testing/utils.py", line
 223, in assert_array_equal
     verbose=verbose, header='Arrays are not equal')
   File "/usr/lib64/python2.4/site-packages/numpy/testing/utils.py", line
 215, in assert_array_compare
     assert cond, msg
 AssertionError:
 Arrays are not equal
 a[-11:]
 (mismatch 100.0%)
  x: array([1])
  y: array([10])

 ======================================================================
 FAIL: check_1d_6
 (scipy.weave.tests.test_size_check.test_dummy_array_indexing)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/usr/lib64/python2.4/site-
 packages/scipy/weave/tests/test_size_check.py", line 174, in check_1d_6
     self.generic_1d('a[:-11]')
   File "/usr/lib64/python2.4/site-
 packages/scipy/weave/tests/test_size_check.py", line 135, in generic_1d
     self.generic_wrap(a,expr)
   File "/usr/lib64/python2.4/site-
 packages/scipy/weave/tests/test_size_check.py", line 127, in generic_wrap
     self.generic_test(a,expr,desired)
   File "/usr/lib64/python2.4/site-
 packages/scipy/weave/tests/test_size_check.py", line 123, in generic_test
     assert_array_equal(actual,desired, expr)
   File "/usr/lib64/python2.4/site-packages/numpy/testing/utils.py", line
 223, in assert_array_equal
     verbose=verbose, header='Arrays are not equal')
   File "/usr/lib64/python2.4/site-packages/numpy/testing/utils.py", line
 215, in assert_array_compare
     assert cond, msg
 AssertionError:
 Arrays are not equal
 a[:-11]
 (mismatch 100.0%)
  x: array([9])
  y: array([0])

 ----------------------------------------------------------------------
 Ran 132 tests in 1.148s

 FAILED (failures=2)
 }}}


 {{{
 >>> scipy.__version__
 '0.5.3.dev2938'
 }}}

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


More information about the Scipy-tickets mailing list