TempDirectory.compare().log_capture(), tempdir() and replace() are
not currently compatible with pytest’s fixtures mechanism.stdout or stderr not being
set to PIPE when
using MockPopen.MockPopen for
using subprocess.Popen as
a context manager in Python 3.MockPopen for stderr=STDOUT.Thanks to Tim Davies for
his work on MockPopen.