#NEWLINE# def test_deferred_instrument_event_subclass_propagate( self ) : #NEWLINE# #INDENT# User = canary . classes . User #NEWLINE# class SubUser ( User ) : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# canary = [ ] #NEWLINE# def evt( x ) : #NEWLINE# #INDENT# canary . append ( x ) #NEWLINE# #UNINDENT# event . listen ( User , 'attribute_instrument' , evt , propagate = True ) #NEWLINE# instrumentation . _instrumentation_factory . dispatch . attribute_instrument ( SubUser ) #NEWLINE# eq_ ( canary , [ SubUser ] )