def OnDeleteRows(self, event): self._execute(DeleteRows(self.selection.rows())) self.ClearSelection() self._resize_grid() self._skip_except_on_mac(event)
def tearDown(self): self.test.execute(DeleteRows([i for i in range(len(self.test.steps))]))