#NEWLINE# def test_action( self ) : #NEWLINE# #INDENT# "\n        Test the 'action' callback\n        " #NEWLINE# results = [ ] #NEWLINE# def action( ) : #NEWLINE# #INDENT# results . append ( True ) #NEWLINE# #UNINDENT# barrier = self . barriertype ( action . N , action ) #NEWLINE# def f( ) : #NEWLINE# #INDENT# barrier . wait ( ) #NEWLINE# self . assertEqual ( len ( results ) , 1 ) #NEWLINE# #UNINDENT# self . run_threads ( f )