def METHOD_NAME(self):
    chn_input = torch.ones((1, 1, 3))
    chn_target = torch.ones((1, 1, 3))
    with self.assertWarns(Warning):
        loss = TverskyLoss(include_background=False)
        loss.forward(chn_input, chn_target)
    with self.assertWarns(Warning):
        loss = TverskyLoss(softmax=True)
        loss.forward(chn_input, chn_target)
    with self.assertWarns(Warning):
        loss = TverskyLoss(to_onehot_y=True)
        loss.forward(chn_input, chn_target)