test_promise: Update the error message to match python 3.12
Python 3.12 update the error message for object_new
when instantiate the abstract class:
PyErr_Format(PyExc_TypeError,
"Can't instantiate abstract class %s "
"without an implementation for abstract method%s '%U'",
type->tp_name,
method_count > 1 ? "s" : "",
joined);
https://github.com/python/cpython/blob/3.12/Objects/typeobject.c#L5499C23-L5499C68
Here is the Python 3.9 object_new
error message:
PyErr_Format(PyExc_TypeError,
"Can't instantiate abstract class %s "
"with abstract method%s %U",
type->tp_name,
method_count > 1 ? "s" : "",
joined);
https://github.com/python/cpython/blob/3.9/Objects/typeobject.c#L3938
Tests are running https://erp5js.nexedi.net/#/test_result_module/20250404-B400925