fail in test pyqt