title: coverage.py doesn't work with relative imports?
body: <p>I am gathering the code coverage for my django app and looks like <code>coverage.py</code> doesn't collect the statistics if the module was imported relatively.</p>
  
  <p>More detailed:</p>
  
  <p>the directory structure looks like this:</p>
  
  <pre><code>project
      __init__.py
      apps
          __init__.py
          my_app
              __init__.py
              my_module.py
              tests.py
  </code></pre>
  
  <p>So if I do <code>from .my_module import *</code> in <code>tests.py</code> - then <code>coverage.py</code> won't gather the statistics for <code>my_module.py</code>. However, if I put <code>from apps.my_app.my_module import *</code>, the statistics is there.</p>
  
  <p>I am using <a href="https://github.com/django-nose/django-nose" rel="nofollow">django-nose</a> with <code>coverage</code> plugin and have <code>--cover-package=apps.my_app</code> flag while running tests.</p>
  
  <p>Has anybody stumbled upon such? I don't really want to always have the full import path, unless I really have to, so any thoughts are appreciated. </p>