#NEWLINE# @ pytest . fixture ( params = [ ( 'w:r' , Pt ( 12 ) , 'w:r/w:rPr/w:sz{w:val=24}' ) , ( 'w:r/w:rPr' , Pt ( 12 ) , 'w:r/w:rPr/w:sz{w:val=24}' ) , ( 'w:r/w:rPr/w:sz{w:val=24}' , Pt ( 18 ) , 'w:r/w:rPr/w:sz{w:val=36}' ) , ( 'w:r/w:rPr/w:sz{w:val=36}' , None , 'w:r/w:rPr' ) ] ) #NEWLINE# def size_set_fixture( self , request ) : #NEWLINE# #INDENT# ( r_cxml , value , expected_r_cxml ) = request . param #NEWLINE# font = Font ( element ( r_cxml ) ) #NEWLINE# expected_xml = xml ( expected_r_cxml ) #NEWLINE# return ( font , value , expected_xml )