title: Can I use nose to check that a function raises a warning, but also keep that warning message from printing on the terminal?
body: <p>I want to write a nose unit test that confirms that a function issues an expected warning. <a href="https://stackoverflow.com/questions/3587407/check-that-a-function-raises-a-warning-with-nose-tests">This answer</a> shows how.</p>
  
  <p>However, I would also like to not see the warning's message in the terminal window from which I'm running nosetests. (It clutters up nosetests' output.)</p>
  
  <p>Is there a way to nose-test to see if a function issues a warning, without having the warning text show up?</p>