#NEWLINE# @ nochange #NEWLINE# @ with_attributes ( True , False ) #NEWLINE# @ with_text ( text = True , utext = True ) #NEWLINE# def bench_write_utf8_parse_bytesIO( self , root ) : #NEWLINE# #INDENT# f = BytesIO ( ) #NEWLINE# self . etree . ElementTree ( root ) . write ( f , encoding = 'UTF-8' ) #NEWLINE# f . seek ( 0 ) #NEWLINE# self . etree . parse ( root )