@yield_fixture
def table(qtbot):
    table = Table()
    table.show()
    # qtbot.waitForWindowShown(table)

    def count(id):
        return 10 * id - 10000.5
    table.add_column(count, show=True)

    def skip(id):
        return id == 4
    table.add_column(skip)

    table.set_rows(range(10))

    yield table

    table.close()


#------------------------------------------------------------------------------
# Test widgets
#------------------------------------------------------------------------------
dataset/ETHPy150Open kwikteam/phy/phy/gui/tests/test_widgets.py/table/swapped operands of `-`