Backport support.change_cwd() and use it in tests.
7 files changed