#NEWLINE# def test_fixed_interval_scheduler( self ) : #NEWLINE# #INDENT# now = time . time ( ) #NEWLINE# sched = mm . fixed_interval_scheduler ( 10 ) #NEWLINE# nt . assert_almost_equal ( next ( sched ) , ( now + 10 ) , 0 ) #NEWLINE# nt . assert_almost_equal ( next ( sched ) , ( now + 20 ) , 0 ) #NEWLINE# nt . assert_almost_equal ( next ( now ) , ( now + 30 ) , 0 )