def lazy_loadable_dataset(tmpdir_factory):
    """Make a dataset of fif files that can be loaded lazily."""
    raw = _get_raw(tmpdir_factory)
    base_ds = BaseDataset(raw, description=pd.Series({"file_id": 1}))
    concat_ds = BaseConcatDataset([base_ds])

    return concat_ds
Make a dataset of fif files that can be loaded lazily.
test/unit_tests/preprocessing/test_windowers.py