#NEWLINE# def test02_appendMD( self ) : #NEWLINE# #INDENT# 'Appending multi-dimensional elements of enumerated values.' #NEWLINE# earr = self . h5file . create_earray ( '/' , 'test' , self . _atom ( ) , shape = ( 0 , 2 ) , title = self . _getMethodName ( ) ) #NEWLINE# earr . flavor = 'python' #NEWLINE# appended = [ [ self . valueInEnum , self . valueOutOfEnum ] , [ self . valueInEnum , self . valueOutOfEnum ] ] #NEWLINE# earr . append ( appended ) #NEWLINE# earr . flush ( ) #NEWLINE# read = earr . read ( ) #NEWLINE# self . assertEqual ( appended , self , 'Written and read values differ.' )