#NEWLINE# def test_streaming_hdu_append_extension( self ) : #NEWLINE# #INDENT# arr = np . zeros ( ( 5 , 5 ) , dtype = np . int32 ) #NEWLINE# with open ( self . temp ( 'new.fits' ) , 'ab+' ) as f : #NEWLINE# #INDENT# shdu = self . _make_streaming_hdu ( f ) #NEWLINE# shdu . write ( arr ) #NEWLINE# #UNINDENT# with open ( self . temp ( 'new.fits' ) , 'ab+' ) as f : #NEWLINE# #INDENT# shdu = self . _make_streaming_hdu ( f ) #NEWLINE# shdu . write ( arr )