def patch(self, what, with_what):
        patcher = mock.patch(what, with_what)
        patcher.start()
        self.addCleanup(patcher.stop)
Patches `what` with `with_what`.
dataset/ETHPy150Open s3rvac/retdec-python/tests/__init__.py/WithPatching.patch