import pickle


def load_pickled_city_file(path_to_file): # pragma: no cover
    """
    Returns city object by loading pickled city file.

    Parameters
    ----------
    path_to_file : str
        Path to city pickled file

    Returns
    -------
    city : object
        City object
    """
    city = pickle.load(open(path_to_file, 'rb'))
    return city