'Tests results from non-linear fitters against `LevMarLSQFitter`.'

@pytest.mark.parametrize(u'fitter_class', fitters)
def test_fitter_against_LevMar(self, fitter_class):

    levmar = LevMarLSQFitter()
    fitter = fitter_class()
    with ignore_non_integer_warning():
        new_model = fitter(self.gauss, self.xdata, self.ydata)
    model = levmar(self.gauss, self.xdata, self.ydata)
    assert_allclose(model.parameters, new_model.parameters, rtol=(10 ** (-4)))
