4 ms·
It seems like its mostly used for patching in tests, e.g. def test(): SomeClass.do_network_call = lambda x: x < test actual logic >
by ipsum2 6y ago
It seems like its mostly used for patching in tests, e.g.
def test():
SomeClass.do_network_call = lambda x: x
< test actual logic >