'When the data with a domain which has more values than
a table was sent, the widget threw error Invalid number of variable columns.
GH-2116'

def test_domain_with_more_values_than_table(self):

    table = Table('iris')
    cases = [[list(range(80))], [list(range(90, 140))], [(list(range(30)) + list(range(120, 140)))]]
    for case in cases:
        data = table[case, :]
        self.send_signal('Data', data)
        self.widget.apply_button.button.click()
