#NEWLINE# def test_enumerated_attr_type( self ) : #NEWLINE# #INDENT# s = '<!DOCTYPE doc [<!ATTLIST doc attr (a | b) >]>' #NEWLINE# self . check_events ( s , [ ( 'decl' , 'DOCTYPE doc [<!ATTLIST doc attr (a | b) >]' ) ] )