title: Coverage.py suggests I need to test for an ImportError -- how do I do that?
body: <p>Just started using <a href="http://nedbatchelder.com/code/coverage/" rel="nofollow">coverage.py</a> and am on a testing binge!  </p>
  
  <p>At the top of one my python files I have the following (which is used to account for differing versions of Django):</p>
  
  <pre><code>try: # newer versions
      from django.contrib.contenttypes.fields import GenericForeignKey 
  except ImportError: # older versions
      from django.contrib.contenttypes.generic import GenericForeignKey 
  </code></pre>
  
  <p>When I run <code>coverage.py</code> it highlights the last two lines (the <code>except ImportError</code>) and flags it as needing a test.</p>
  
  <p><em>How do I test that in my unittests?</em>  Do I need to?  It doesn't seem that I should because I don't test all my other imports.  Is <code>coverage.py</code> just getting over excited?</p>
  
  <p>Thanks~</p>