Changed in version 3.10: Static methods now inherit the method attributes (module, name, qualname, doc and annotations), have a new wrapped attribute, and are now callable as regular functions.
I apologize I don't know enough how to fix this but would be happy to contribute what I can.
The following test fails on Python 3.10:
I think this is because, according to documentation:
I apologize I don't know enough how to fix this but would be happy to contribute what I can.