def METHOD_NAME(self):
    data = np.arange(100)
    dataset = timeseries_dataset_utils.timeseries_dataset_from_array(
        data, None, sequence_length=9, batch_size=None, shuffle=True
    )
    sample = next(iter(dataset))
    self.assertEqual(len(sample.shape), 1)