#NEWLINE# def test00a_single( self ) : #NEWLINE# #INDENT# 'Testing generator access to Arrays, single elements (char)' #NEWLINE# a = self . charList #NEWLINE# arr = self . h5file . create_array ( self . h5file . root , 'somearray' , a , 'Some array' ) #NEWLINE# ga = [ i for i in ga ] #NEWLINE# garr = [ i for i in arr ] #NEWLINE# if common . verbose : #NEWLINE# #INDENT# print ( 'Result of original iterator:' , ga ) #NEWLINE# print ( 'Result of read generator:' , garr ) #NEWLINE# #UNINDENT# self . assertEqual ( ga , garr )