[3.11] gh-96127: Fix inspect.signature call on mocks (#96335)
#101646
+30
−1
inspect.signature call on mocks (#96335)
#101646