'A ValueError is raised if a 1 data set (1d x, 1d y) is fit
with a model with multiple parameter sets.'

def test_wrong_numpset(self):

    with pytest.raises(ValueError):
        p1 = models.Polynomial1D(5)
        y1 = p1(self.x1)
        p1 = models.Polynomial1D(5, n_models=2)
        pfit = fitting.LinearLSQFitter()
        model = pfit(p1, self.x1, y1)
