<s> import shutilwhich <EOL> from shutil import which <EOL> import pytest <EOL> def binary ( name , scope = '<STR_LIT>' , ** kwargs ) : <EOL> @ pytest . fixture ( scope = scope , ** kwargs ) <EOL> def _ ( ) : <EOL> path = which ( name ) <EOL> if not path : <EOL> pytest . skip ( '<STR_LIT>' . format ( path ) ) <EOL> return path <EOL> return _ </s>
