'Check that the widget does not crash on discrete attributes with only
one value.
GH-2149'

def test_data_one_value_zero(self):

    table = Table(Domain([DiscreteVariable('a', values=['0'])]), [(0,), (0,), (0,)])
    self.send_signal(self.widget.Inputs.data, table)
