[NumPy-Tickets] [NumPy] #1926: test_umath_complex fails under OS X Lion

NumPy Trac numpy-tickets@scipy....
Wed Sep 7 15:16:47 CDT 2011


#1926: test_umath_complex fails under OS X Lion
------------------------+---------------------------------------------------
 Reporter:  RuiPereira  |       Owner:  somebody
     Type:  defect      |      Status:  new     
 Priority:  normal      |   Milestone:  1.6.2   
Component:  numpy.core  |     Version:  1.6.0   
 Keywords:              |  
------------------------+---------------------------------------------------

Comment(by rgommers):

 Have a look in numpy/core/tests/test_umath_complex.py. Right now this is
 the logic for skipping tests:
 {{{
 have_platform_functions = (sys.platform.startswith('sunos') or
                            (sys.platform == 'darwin' and 'powerpc' in
                                              platform.processor()))
 skip_complex_tests = (sys.platform.startswith('win') or
                       (have_platform_functions and functions_seem_flaky))
 }}}
 I think those tests should be skipped on all platforms except Linux.  For
 Linux the {{{functions_seem_flaky}}} bit can be kept.  Then you can check
 if all the relevant tests are skipped. If not, add a {{{@platform_skip}}}
 decorator to the ones that are still failing.

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/1926#comment:5>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list