#NEWLINE# @ pytest . fixture ( params = [ ( '012345' , None ) , ( 'ABCDEF' , None ) , ( 'deadbf' , None ) , ( '0A1B3C' , None ) , ( None , TypeError ) , ( 123456 , TypeError ) , ( 'F00BAR' , ValueError ) , ( 'F00b' , ValueError ) ] ) #NEWLINE# def valid_fixture( self , request ) : #NEWLINE# #INDENT# ( str_value , exception ) = request . param #NEWLINE# return ( str_value , exception )