2021-01-22 19:26:28 +00:00
|
|
|
From: Antonio Larrosa <alarrosa@suse.com>
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
2022-08-02 13:25:48 +00:00
|
|
|
Index: AnyQt-0.1.1/test/test_import.py
|
2021-01-22 19:26:28 +00:00
|
|
|
===================================================================
|
2022-08-02 13:25:48 +00:00
|
|
|
--- AnyQt-0.1.1.orig/test/test_import.py
|
|
|
|
|
+++ AnyQt-0.1.1/test/test_import.py
|
|
|
|
|
@@ -2,7 +2,6 @@ import subprocess
|
2021-01-22 19:26:28 +00:00
|
|
|
import sys
|
|
|
|
|
|
2022-08-02 13:25:48 +00:00
|
|
|
apis = {
|
|
|
|
|
- 'pyqt4': 'PyQt4',
|
|
|
|
|
'pyqt5': 'PyQt5',
|
|
|
|
|
'pyside': 'PySide',
|
|
|
|
|
'pyside2': 'PySide2',
|