While I was working on #552, I realized skipping the Qt-specific test case using the skipIf(toolkit_object.toolkit != "qt4", ...) was not enough, I also had to add a skipIf(GuiTestAssistant.__name__ == "Unimplemented", ...).
This suggests that tests that require Qt, e.g. because the test body contain Qt specific code, are skipped relying on the fact that GuiTestAssistant is only implemented for Qt. This is not ideal, because as soon as GuiTestAssistant is implemented for other toolkit (e.g. wx, see #266), these tests will be run erroneously, causing build errors.
While I was working on #552, I realized skipping the Qt-specific test case using the
skipIf(toolkit_object.toolkit != "qt4", ...)was not enough, I also had to add askipIf(GuiTestAssistant.__name__ == "Unimplemented", ...).This suggests that tests that require Qt, e.g. because the test body contain Qt specific code, are skipped relying on the fact that
GuiTestAssistantis only implemented for Qt. This is not ideal, because as soon asGuiTestAssistantis implemented for other toolkit (e.g. wx, see #266), these tests will be run erroneously, causing build errors.