9Zc @` s d d l m Z m Z m Z d d l m Z m Z m Z m Z m Z m
Z
d d l Z d Z d Z
d e f d YZ d Z d Z d
Z d Z d Z e d
k r e n d S( i ( t divisiont absolute_importt print_function( t dect assert_t
assert_raisest run_module_suitet SkipTestt KnownFailureExceptionNc C` s# t j d } t | j d S( Nc S` s d S( N( ( t xt yt z( ( sV /opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pyt slow_func s ( R t slowR ( R ( ( sV /opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pyt test_slow s c C` sq t j d } t j t d } t j t d } t | j t | j t | j d S( Nc S` s d S( N( ( t a( ( sV /opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pyt f_default s c S` s d S( N( ( R ( ( sV /opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pyt f_istest s c S` s d S( N( ( R ( ( sV /opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pyt f_isnottest s ( R t setastestt Truet FalseR t __test__( R R R ( ( sV /opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pyt test_setastest s
t DidntSkipExceptionc B` s e Z RS( ( t __name__t
__module__( ( ( sV /opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pyR s c C` s t j t d } y | d Wn- t k
rE t d n t k
rU n Xt j t d } y | d Wn- t k
r n t k
r t d n Xd S( Nc S` s
t d S( N( R ( R ( ( sV /opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pyt f1# s R s Failed to skipc S` s
t d S( N( R ( R ( ( sV /opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pyt f2. s s Skipped when not expected to( R t skipifR R t ExceptionR R ( R R ( ( sV /opt/alt/python27/lib64/python2.7/site-packages/numpy/testing/tests/test_decorators.pyt test_skip_functions_hardcoded"