def METHOD_NAME(self):
    model = TimePatternModel(TimePattern(['M7-12', 'M1-6'], [-5.0, 7.0]), None)
    model_index = model.index(1, 1)
    model.setData(model_index, 2.3)
    self.assertEqual(model.value.indexes, ['M7-12', 'M1-6'])
    numpy.testing.assert_equal(model.value.values, [-5.0, 2.3])
    model.deleteLater()