aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/tests/samplebinding
diff options
context:
space:
mode:
authorChristian Tismer <tismer@stackless.com>2022-07-03 18:36:38 +0200
committerChristian Tismer <tismer@stackless.com>2022-07-07 15:59:27 +0200
commitdc058bddb1f1089c007721c9301e174f3f7a7887 (patch)
treeb8e75e32dd917b219d1d1b1904f33acd774d4755 /sources/shiboken6/tests/samplebinding
parent06448ba29c2e568f64132b81ce56ec2b063e456c (diff)
Shiboken: Rewrite the signature initialization
[ChangeLog][shiboken6] The initialization of the signature module was moved into Shiboken and rearranged. This was necessary for the new backward-compatible PyEnum module. This change makes even sense if the PyEnum forgiveness should not work in 3.11 because it is a real cleanup. Change-Id: I5de54584154fb43648617adcac823f42049be57b Pick-to: 6.3 Task-number: PYSIDE-1735 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/shiboken6/tests/samplebinding')
-rw-r--r--sources/shiboken6/tests/samplebinding/enumfromremovednamespace_test.py1
-rw-r--r--sources/shiboken6/tests/samplebinding/namespace_test.py1
-rw-r--r--sources/shiboken6/tests/samplebinding/pointerprimitivetype_test.py1
-rw-r--r--sources/shiboken6/tests/samplebinding/renaming_test.py1
4 files changed, 0 insertions, 4 deletions
diff --git a/sources/shiboken6/tests/samplebinding/enumfromremovednamespace_test.py b/sources/shiboken6/tests/samplebinding/enumfromremovednamespace_test.py
index f70621c59..1551703a7 100644
--- a/sources/shiboken6/tests/samplebinding/enumfromremovednamespace_test.py
+++ b/sources/shiboken6/tests/samplebinding/enumfromremovednamespace_test.py
@@ -15,7 +15,6 @@ import sample
from shiboken_test_helper import objectFullname
from shiboken6 import Shiboken
-_init_pyside_extension() # trigger bootstrap
from shibokensupport.signature import get_signature
diff --git a/sources/shiboken6/tests/samplebinding/namespace_test.py b/sources/shiboken6/tests/samplebinding/namespace_test.py
index a7833c921..2d5895082 100644
--- a/sources/shiboken6/tests/samplebinding/namespace_test.py
+++ b/sources/shiboken6/tests/samplebinding/namespace_test.py
@@ -17,7 +17,6 @@ from sample import *
from shiboken_test_helper import objectFullname
from shiboken6 import Shiboken
-_init_pyside_extension() # trigger bootstrap
from shibokensupport.signature import get_signature
diff --git a/sources/shiboken6/tests/samplebinding/pointerprimitivetype_test.py b/sources/shiboken6/tests/samplebinding/pointerprimitivetype_test.py
index 41a9774e3..64d51d8c4 100644
--- a/sources/shiboken6/tests/samplebinding/pointerprimitivetype_test.py
+++ b/sources/shiboken6/tests/samplebinding/pointerprimitivetype_test.py
@@ -28,7 +28,6 @@ init_paths()
from sample import IntArray2, VirtualMethods
import shiboken6
-_init_pyside_extension() # trigger init, which does not happen in tests
from shibokensupport.signature import get_signature
import typing
diff --git a/sources/shiboken6/tests/samplebinding/renaming_test.py b/sources/shiboken6/tests/samplebinding/renaming_test.py
index 2d6b95a45..b6a9a8fa4 100644
--- a/sources/shiboken6/tests/samplebinding/renaming_test.py
+++ b/sources/shiboken6/tests/samplebinding/renaming_test.py
@@ -17,7 +17,6 @@ init_paths()
from sample import RenamedValue, RenamedUser
from shiboken6 import Shiboken
-_init_pyside_extension() # trigger bootstrap
from shibokensupport.signature import get_signature