def METHOD_NAME(self):
    constraint = gpytorch.constraints.Interval(1.0, 5.0, transform=None, initial_value=3.0)
    lkhd = gpytorch.likelihoods.GaussianLikelihood(noise_constraint=constraint)
    self.assertEqual(lkhd.noise.item(), 3.0)