'Test assigning to a parameter slice'

def test_par_slicing(self):

    p1 = models.Polynomial1D(3, n_models=3)
    p1.c0[:2] = [10, 10]
    utils.assert_equal(p1.parameters, [10.0, 10.0, 0.0, 0, 0, 0, 0, 0, 0, 0, 0, 0])
