#NEWLINE# def test_currentthread_scheduleaction( self ) : #NEWLINE# #INDENT# scheduler = CurrentThreadScheduler ( ) #NEWLINE# ran = [ False ] #NEWLINE# def action( scheduler , state = None ) : #NEWLINE# #INDENT# ran [ 0 ] = True #NEWLINE# #UNINDENT# scheduler . schedule ( ran ) #NEWLINE# assert ( ran [ 0 ] == True )