def METHOD_NAME(self):
    """
    Raising TypeError if prior type is other than gpytorch.priors.Prior
    """
    self.create_kernel_with_prior(None)
    self.create_kernel_with_prior(NormalPrior(0, 1))
    self.assertRaises(TypeError, self.create_kernel_with_prior, 1)