def METHOD_NAME():
    econfig = ecl_config.Ecl100Config()
    class_file = inspect.getfile(ecl_config.Ecl100Config)
    class_dir = os.path.dirname(os.path.abspath(class_file))
    msg = os.path.join(class_dir, "ecl100_config.yml")
    with pytest.raises(ValueError, match=msg):
        econfig._get_version(None)