I\'m writing a pytest test. The test creates a subprocess and makes an assertion about the subprocess\' output. I want to patch a function the subprocess uses.
For ex