aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/tests/registry/init_platform.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside2/tests/registry/init_platform.py')
-rw-r--r--sources/pyside2/tests/registry/init_platform.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/sources/pyside2/tests/registry/init_platform.py b/sources/pyside2/tests/registry/init_platform.py
index 61964a3c1..e80c3b69f 100644
--- a/sources/pyside2/tests/registry/init_platform.py
+++ b/sources/pyside2/tests/registry/init_platform.py
@@ -141,8 +141,8 @@ Shiboken.__name__ = "Shiboken"
sys.modules["Shiboken"] = sys.modules.pop("shiboken2")
all_modules.append("Shiboken")
-# 'sample' seems to be needed by 'other', so import it first.
-for modname in "minimal sample other smart".split():
+# 'sample/smart' are needed by 'other', so import them first.
+for modname in "minimal sample smart other".split():
sys.path.insert(0, os.path.join(shiboken_build_dir, "tests", modname + "binding"))
__import__(modname)
all_modules.append(modname)
@@ -219,6 +219,7 @@ def generate_all():
lines = f.readlines()
license_line = next((lno for lno, line in enumerate(lines)
if "$QT_END_LICENSE$" in line))
+ fmt.print("#recreate # uncomment this to enforce generation")
fmt.print("".join(lines[:license_line + 3]))
version = sys.version.replace('\n', ' ')
build = qt_build()