def test_use_loglikelihood_class_directly(self): with pytest.raises(TypeError): a = LogLikelihood(1, 2, models.Lorentz1D)
def __init__(self, *args, **kwargs): LogLikelihood.__init__(self, *args, **kwargs)