def METHOD_NAME(shape_file):
    dataset = IterableESPnetDataset(
        path_name_type_list=[(shape_file, "data5", "rand_float")],
        preprocess=preprocess,
    )
    for key, data in dataset:
        if key == "a":
            assert data["data5"].shape == (
                100,
                80,
            )
        if key == "b":
            assert data["data5"].shape == (
                150,
                80,
            )