Drives run_tests_fork_child.run from a stand-in server that has its own variable and has already asked gettempdir(). Without os.environ.clear() or the tempfile.tempdir reset, the probe file fails.