Current File : //opt/imh-python/lib/python2.7/test/test_threaded_import.pyc |
�
��Wc @ s� d d l Z d d l m Z m Z m Z e d � Z e j � a e j � a d � Z d � Z
d � Z e d k r} e � n d S( i����N( t verboset
TestFailedt
import_modulet threadc C s_ d d l } | j d d � } t j � t d 8a t d k } t j � | r[ t j � n d S( Ni����i i i ( t randomt randranget critical_sectiont acquiret Nt releaset done( R t xt finished( ( sr /builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_threaded_import.pyt task s
c C sj d d l } t r d Gn d d l } z3 | j j rI t | j j � � n t rW d GHn Wd | j d =Xd S( Ni����s testing import hangers ...s OK.s test.threaded_import_hangers( t sysR t test.threaded_import_hangerst threaded_import_hangerst errorsR t modules( R t test( ( sr /builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_threaded_import.pyt test_import_hangers s c C s� d d l } | j � r* t j d � � n t j � xb d
D]Z a t rV d Gt Gd Gn x$ t t � D] } t j
t d � qc Wt j � t r; d GHq; q; Wt j � t
� d S( Ni����s"