#NEWLINE# def test02_appendMD( self ) : #NEWLINE# #INDENT# 'Appending multi-dimensional elements of enumerated values.' #NEWLINE# vlarr = self . h5file . create_vlarray ( '/' , 'test' , self . _atom ( ( 2 , ) ) , title = self . _getMethodName ( ) ) #NEWLINE# vlarr . flavor = 'python' #NEWLINE# appended = [ [ [ self . valueInEnum , self . valueInEnum ] ] , [ [ self . valueInEnum , self . valueOutOfEnum ] , [ self . valueInEnum , self . valueInEnum ] ] ] #NEWLINE# vlarr . append ( appended [ 0 ] ) #NEWLINE# vlarr . append ( appended [ 1 ] ) #NEWLINE# vlarr . flush ( ) #NEWLINE# read = vlarr . read ( ) #NEWLINE# common . verbosePrint ( ( '* appended value: %s\n* read value: %s\n' % ( appended , read ) ) ) #NEWLINE# self . assertEqual ( appended , read , 'Written and read values differ.' )