'No data when everything is skipped. Otherwise Select Rows crashes.
GH-2237'

def test_drop_data_when_everything_skipped(self):

    self.open_dataset('iris')
    data = self.get_output(self.widget.Outputs.data)
    self.assertTrue(len(data), 150)
    self.assertTrue(len(data.domain), 5)
    for i in range(5):
        idx = self.widget.domain_editor.model().createIndex(i, 2)
        self.widget.domain_editor.model().setData(idx, 'skip', Qt.EditRole)
    self.widget.apply_button.click()
    data = self.get_output(self.widget.Outputs.data)
    self.assertIsNone(data)
