[python] try patching a function in the same module

Summary:
Patch a function in the same module to make sure it works