def skip_if_not_available(modules=None, datasets=None, configurations=None):
    if modules is None:
        modules = []
    if datasets is None:
        datasets = []
    if configurations is None:
        configurations = []
    for module in modules:
        try:
            import_module(module)
        except Exception:
            raise SkipTest
    if datasets and not hasattr(config, 'data_path'):
        raise SkipTest
    for dataset in datasets:
        try:
            find_in_data_path(dataset)
        except IOError:
            raise SkipTest
    for configuration in configurations:
        if not hasattr(config, configuration):
            raise SkipTest
Prepare a configuration parser object.
dataset/ETHPy150Open mila-udem/fuel/tests/__init__.py/skip_if_not_available--crossover with--dataset/ETHPy150Open MapQuest/mapquest-osm-server/src/python/tests/test_osmelement.py/pytest_funcarg__config