#NEWLINE# @ pytest . fixture ( params = [ ( '12.34%' , 0.1234 ) , ( '42%' , 0.42 ) , ( '024%' , 0.24 ) , ( '-42%' , ( - 0.42 ) ) , ( '-036.214%' , ( - 0.36214 ) ) , ( '0%' , 0.0 ) ] ) #NEWLINE# def percent_fixture( self , request ) : #NEWLINE# #INDENT# ( str_value , expected_value ) = request . param #NEWLINE# return ( str_value , expected_value )