def _load_config_from_yaml():
_ENV_VAR = '<STR_LIT>'<EOL>filename = os.environ.get(_ENV_VAR)<EOL>if not filename:<EOL><INDENT>print (<EOL>'<STR_LIT>'<EOL>'<STR_LIT>'  <EOL>'<STR_LIT>'.format(<EOL>_ENV_VAR))<EOL>raise unittest.SkipTest()<EOL><DEDENT>with open(filename) as f:<EOL><INDENT>config = yaml.safe_load(f)<EOL><DEDENT>return config<EOL>
Load configuration from a yaml file specified in an environment variable.

Raises a SkipTest exception if the environment variable is not specified.