#NEWLINE# def test_the_insertion_made_implicetly_in_setUp( self ) : #NEWLINE# #INDENT# for ( key , monitor ) in self . monitors . items ( ) : #NEWLINE# #INDENT# res = self . results [ key ] #NEWLINE# self . assertEqual ( res . testtestextra , 42 ) #NEWLINE# self . assertEqual ( res . v_monitor_type , monitor . __class__ . __name__ ) #NEWLINE# if isinstance ( monitor , SpikeMonitor ) : #NEWLINE# #INDENT# self . check_spike_monitor ( res , monitor ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if isinstance ( monitor , StateMonitor ) : #NEWLINE# #INDENT# self . check_state_monitor ( res , monitor ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if isinstance ( monitor , PopulationRateMonitor ) : #NEWLINE# #INDENT# self . check_population_rate_monitor ( res , monitor ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# raise ValueError ( ( 'Monitor Type %s is not supported (yet)' % str ( type ( monitor ) ) ) )