#NEWLINE# def test_read_chunks( self ) : #NEWLINE# #INDENT# CHUNK = 1024 #NEWLINE# f = open ( test_support . findfile ( 'sgml_input.html' ) ) #NEWLINE# fp = sgmllib . SGMLParser ( ) #NEWLINE# while 1 : #NEWLINE# #INDENT# data = f . read ( fp ) #NEWLINE# fp . feed ( data ) #NEWLINE# if ( len ( data ) != CHUNK ) : #NEWLINE# #INDENT# break