def METHOD_NAME(self):
    name = "name"
    series = (
        [1.0],
        {
            name: [2.0],
        },
    )
    interval = interval_data_from_time_series(series)
    self.assertEqual(
        interval,
        {name: {(1.0, 1.0): 2.0}},
    )