Current Path : /usr/local/lib/python2.5/test/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/local/lib/python2.5/test/test_queue.pyo |
³ò h”Rc @ sÿ d d k Z d d k Z d d k Z d d k Z d d k l Z l Z l Z d Z d e i f d „ ƒ YZ d „ Z d „ Z d e f d „ ƒ YZ d e i f d „ ƒ YZ d „ Z d „ Z d a e i ƒ Z d „ Z d „ Z d „ Z d „ Z e ƒ d S( iÿÿÿÿN( t verifyt TestFailedt verbosei t _TriggerThreadc B s e Z d „ Z d „ Z RS( c C s5 | | _ | | _ t i ƒ | _ t i i | ƒ d S( N( t fnt argst threadingt Eventt startedEventt Threadt __init__( t selfR R ( ( s+ /usr/local/lib/python2.5/test/test_queue.pyR s c C s. t i d ƒ | i i ƒ | i | i Œ d S( Ngš™™™™™¹?( t timet sleepR t setR R ( R ( ( s+ /usr/local/lib/python2.5/test/test_queue.pyt run s ( t __name__t __module__R R ( ( ( s+ /usr/local/lib/python2.5/test/test_queue.pyR s c C s{ t | | ƒ } | i ƒ | | Œ } | i i ƒ p t d | ƒ ‚ n | i d ƒ | i ƒ o t d | ƒ ‚ n | S( Ns, blocking function '%r' appeared not to blocki s, trigger function '%r' appeared to not return( R t startR t isSetR t joint isAlive( t block_funct block_argst trigger_funct trigger_argst tt result( ( s+ /usr/local/lib/python2.5/test/test_queue.pyt _doBlockingTest+ s c C sª t | | ƒ } | i ƒ z; y | | Œ Wn | j o ‚ n Xt d | ƒ ‚ Wd | i d ƒ | i ƒ o t d | ƒ ‚ n | i i ƒ p t d ƒ ‚ n Xd S( Ns expected exception of kind %ri s, trigger function '%r' appeared to not returns( trigger thread ended but event never set( R R R R R R R ( R R R R t expected_exception_classR ( ( s+ /usr/local/lib/python2.5/test/test_queue.pyt _doExceptionalBlockingTest: s t FailingQueueExceptionc B s e Z RS( ( R R ( ( ( s+ /usr/local/lib/python2.5/test/test_queue.pyR O s t FailingQueuec B s# e Z d „ Z d „ Z d „ Z RS( c G s) t | _ t | _ t i i | | Œ d S( N( t Falset fail_next_putt fail_next_gett QueueR ( R R ( ( s+ /usr/local/lib/python2.5/test/test_queue.pyR S s c C s3 | i o t | _ t d ‚ n t i i | | ƒ S( Ns You Lose( R"