def tearDownModule():
os.chdir(tempfile.gettempdir())<EOL>while TEMPORARY_DIRECTORIES:<EOL><INDENT>shutil.rmtree(TEMPORARY_DIRECTORIES.pop(<NUM_LIT:0>))<EOL><DEDENT>os.environ['<STR_LIT>'] = '<STR_LIT>'<EOL>
Cleanup the temporary ``$HOME`` directory.