def test_splittable_tab_widget():
    tw = SplittableTabWidget()
    tw.show()
    w = GenericCodeEdit()
    tw.add_tab(w)
    tw.add_tab(InteractiveConsole())
    tw.split(w, QtCore.Qt.Vertical)
    w.close()
    tw.close()
    del tw