#NEWLINE# def test_swapped( self ) : #NEWLINE# #INDENT# for typ in byteswapped_structures : #NEWLINE# #INDENT# self . failUnlessEqual ( typ . value . offset , 1 ) #NEWLINE# o = typ ( ) #NEWLINE# o . value = 4 #NEWLINE# self . failUnlessEqual ( o . value , 4 )