'Widget should not crash when there is less rows than k_from.
GH-2172'

def test_not_enough_rows(self):

    table = Table('iris')
    self.widget.controls.k_from.setValue(2)
    self.widget.controls.k_to.setValue(9)
    self.send_signal(self.widget.Inputs.data, table[0:1, :])
