Fix tests sample_privatector sample_privatedtor failing with Python 3.11.5
authorFriedemann Kleint <Friedemann.Kleint@qt.io>
Mon, 18 Sep 2023 11:39:17 +0000 (13:39 +0200)
committerDmitry Shachnev <mitya57@debian.org>
Sun, 15 Oct 2023 20:04:58 +0000 (21:04 +0100)
commit5cab1e7d60f230dc70ec6d20ddb3e326868b3402
tree7fd216bc0d166663a4ce4703bbd0dfc1b8ce8f73
parent6787b87096d0ab51d3f0bd3f3d1d9aeb483a698a
Fix tests sample_privatector sample_privatedtor failing with Python 3.11.5

Remove special characters from the format string as they cause:
ValueError PyUnicode_FromFormatV() expects an ASCII-encoded format string, got a non-ASCII byte: 0xc2

Fixes: PYSIDE-2465
Pick-to: 6.6 6.5 6.2 5.15
Change-Id: I506efcb44168fdc979a1d16bf33d5d5d14525e2e
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
(cherry picked from commit e726ec6450553d268413ab10ed68889a1c1f4fa6)

Gbp-Pq: Name Fix-tests-sample_privatector-sample_privatedtor-failing-w.patch
sources/shiboken2/libshiboken/basewrapper.cpp