From: Antonio Larrosa We don't have PyQt4 bindings (not even Qt4 packages) so `import PyQt4` should fail but the python3-sip package in SLE creates the directory so the import doesn't fail and then it fails where the test doesn't expect it. Index: AnyQt-0.1.1/test/test_import.py =================================================================== --- AnyQt-0.1.1.orig/test/test_import.py +++ AnyQt-0.1.1/test/test_import.py @@ -2,7 +2,6 @@ import subprocess import sys apis = { - 'pyqt4': 'PyQt4', 'pyqt5': 'PyQt5', 'pyside': 'PySide', 'pyside2': 'PySide2',