gh-96127: Fix inspect.signature call on mocks
#96335
+30
−1
Merged