title: Python: How do I make temporary files in my test suite?
body: <p>(I'm using Python 2.6 and <code>nose</code>.)</p>
  
  <p>I'm writing tests for my Python app. I want one test to open a new file, close it, and then delete it. Naturally, I prefer that this will happen inside a temporary directory, because I don't want to trash the user's filesystem. And, it needs to be cross-OS.</p>
  
  <p>How do I do it?</p>