%PDF- %PDF-
Direktori : /opt/plesk/python/2.7/lib64/python2.7/test/ |
Current File : //opt/plesk/python/2.7/lib64/python2.7/test/test_mutex.pyo |
� 5}�ac @ sl d d l Z d d l Z e j j d d e �Z d e j f d � � YZ d � Z e d k rh e � n d S( i����Nt mutext deprecatedt MutexTestc B s e Z d � Z RS( c s� � � � f d � } � � � f d � � t j � � t } � j | d � t � � j � � j � � j � j � d � d S( Nc s: � j | d � � j � j � d � � j � d � d S( Nt spams mutex not heldt eggs( t assertEqualt assertTruet testt lock( t some_data( t called_by_mutex2t mt self( s8 /opt/plesk/python/2.7/lib64/python2.7/test/test_mutex.pyt called_by_mutex s c s: � j | d � � j � j � d � � j � d � d S( NR s mutex not helds called_by_mutex2 called too soon( R R R ( R ( R t ready_for_2R ( s8 /opt/plesk/python/2.7/lib64/python2.7/test/test_mutex.pyR s R s mutex still held( R t FalseR t Truet unlockt assertFalseR ( R R t read_for_2( ( R R R R s8 /opt/plesk/python/2.7/lib64/python2.7/test/test_mutex.pyt test_lock_and_unlock s ( t __name__t __module__R ( ( ( s8 /opt/plesk/python/2.7/lib64/python2.7/test/test_mutex.pyR s c C s t j j t � d S( N( R t test_supportt run_unittestR ( ( ( s8 /opt/plesk/python/2.7/lib64/python2.7/test/test_mutex.pyt test_main s t __main__( t unittestt test.test_supportR R t import_moduleR R t TestCaseR R R ( ( ( s8 /opt/plesk/python/2.7/lib64/python2.7/test/test_mutex.pyt <module> s