aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/PySide6/glue/qttest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/PySide6/glue/qttest.cpp')
-rw-r--r--sources/pyside6/PySide6/glue/qttest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/pyside6/PySide6/glue/qttest.cpp b/sources/pyside6/PySide6/glue/qttest.cpp
index 6d6336a83..b7140828b 100644
--- a/sources/pyside6/PySide6/glue/qttest.cpp
+++ b/sources/pyside6/PySide6/glue/qttest.cpp
@@ -15,7 +15,7 @@ if (!signature.isEmpty())
if (emitter == nullptr || signature.isEmpty()) {
QByteArray error = QByteArrayLiteral("Wrong parameter (")
- + (%PYARG_1)->ob_type->tp_name
+ + PepType_GetFullyQualifiedNameStr(Py_TYPE(%PYARG_1))
+ QByteArrayLiteral(") passed, QSignalSpy requires a signal.");
PyErr_SetString(PyExc_ValueError, error.constData());
return -1;