[Scipy-tickets] [SciPy] #1684: Check for ctypes usage in test fails.

SciPy Trac scipy-tickets@scipy....
Wed Jun 27 13:32:55 CDT 2012

#1684: Check for ctypes usage in test fails.
 Reporter:  rgommers         |       Owner:  oliphant   
     Type:  defect           |      Status:  new        
 Priority:  normal           |   Milestone:  Unscheduled
Component:  scipy.integrate  |     Version:  devel      
 Keywords:  ctypes           |  

 Reported by Nils Wagner, and I've also seen it once on my machine (OS X
 10.6, Python 2.6); not reproducible though.

 FAIL: test_improvement (test_quadpack.TestCtypesQuad)
 Traceback (most recent call last):
   File "/Users/rgommers/Code/numpy/numpy/testing/decorators.py", line 146,
 in skipper_func
     return f(*args, **kwargs)
 "/Users/rgommers/Code/scipy/scipy/integrate/tests/test_quadpack.py", line
 53, in test_improvement
     assert_(fast < 0.5*slow, (fast, slow))
   File "/Users/rgommers/Code/numpy/numpy/testing/utils.py", line 34, in
     raise AssertionError(msg)
 AssertionError: (0.026746988296508789, 0.013608932495117188)

 For now this test should be disabled, as discussed on list. I'll send a PR
 for that.

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

More information about the Scipy-tickets mailing list