def METHOD_NAME(self):
    dataset = []
    for i in range(10):
        dataset.append({"file_name": LazyPath(partial(_a_slow_func, i))})
    dataset = DatasetFromList(dataset)
    for i in range(10):
        path = dataset[i]["file_name"]
        self.assertTrue(isinstance(path, LazyPath))
        self.assertEqual(os.fspath(path), _a_slow_func(i))