'Scipy does not accept infinite distances and neither does this widget.
Error is shown.
GH-2380'

def test_infinite_distances(self):

    table = Table(Domain([ContinuousVariable('a')], [DiscreteVariable('b', values=['y'])]), list(zip([1.79e+308, (-1e+120)], 'yy')))
    distances = Euclidean(table)
    self.assertFalse(self.widget.Error.not_finite_distances.is_shown())
    self.send_signal(self.widget.Inputs.distances, distances)
    self.assertTrue(self.widget.Error.not_finite_distances.is_shown())
    self.send_signal(self.widget.Inputs.distances, self.distances)
    self.assertFalse(self.widget.Error.not_finite_distances.is_shown())
