#NEWLINE# def test_timeout_compare( self ) : #NEWLINE# #INDENT# 'test timeout comparisons' #NEWLINE# t = ioloop . _Timeout ( 1 , 2 ) #NEWLINE# t2 = ioloop . _Timeout ( 1 , 3 ) #NEWLINE# self . assertEquals ( ( t < t2 ) , ( id ( t ) < id ( t2 ) ) ) #NEWLINE# t2 = ioloop . _Timeout ( 2 , 1 ) #NEWLINE# self . assertTrue ( ( t < t ) )