#NEWLINE# def it_can_self_convert_to_convenient_units( self , units_fixture ) : #NEWLINE# #INDENT# ( emu , units_prop_name , expected_length_in_units , type_ ) = units_fixture #NEWLINE# length = Length ( emu ) #NEWLINE# length_in_units = getattr ( length , units_prop_name ) #NEWLINE# assert ( length_in_units == expected_length_in_units ) #NEWLINE# assert isinstance ( length_in_units , type_ )