def METHOD_NAME(self):
    # Insert two nodes
    self.dl.data = []
    self.dl.data.append(dict(icon=None, title="A1", subtitle="A2"))
    b = self.dl.data.append(dict(icon=None, title="B1", subtitle="B2"))
    # Create a flag
    succeed = False
    def on_select(table, row):
        nonlocal succeed
        if row is not None:
            # Make sure the right row was selected
            self.assertEqual(row, b)
            # Remove row B. This should trigger on_select again
            table.data.remove(row)
        else:
            self.assertEqual(row, None)
            succeed = True
    self.dl.on_select = on_select
    # Select row B
    self.gtk_dl.list_box.select_row(b._impl)
    # Allow on_select to call
    handle_events()
    self.assertTrue(succeed)