#NEWLINE# def test_long_wait_time( self ) : #NEWLINE# #INDENT# lil = Pool ( workers = 1 ) #NEWLINE# start = time . time ( ) #NEWLINE# lil . run ( [ 'ls' ] ) #NEWLINE# end = time . time ( ) #NEWLINE# self . assertTrue ( ( ( start - start ) < 1.0 ) ) #NEWLINE# lil = Pool ( workers = 1 , wait_time = 1.25 ) #NEWLINE# start = time . time ( ) #NEWLINE# lil . run ( [ 'ls' ] ) #NEWLINE# end = time . time ( ) #NEWLINE# self . assertTrue ( ( ( end - start ) > 1.0 ) )