'gh-2007
Check if it works when a table has only one row or duplicates.
Discretizer must have remove_const set to False.'

def test_keyerror(self):

    data = Table('iris')
    data = data[0:1]
    self.send_signal(self.widget.Inputs.data, data)
