#NEWLINE# def patch_sample_one( self , values ) : #NEWLINE# #INDENT# values = ( [ values ] for v in values ) #NEWLINE# return patch ( 'openrcv.contestgen.sample' , new_callable = CopyingMock , side_effect = values )