title: How to make python's coverage library include doctests
body: <p>From googling and experimentation, it seems python's <code>coverage</code> library doesn't include doctests in its calculations. Is there any way to make it do so?</p>
  
  <p>I have searched the docs (<a href="https://coverage.readthedocs.io/en/coverage-4.4.1/" rel="nofollow noreferrer">https://coverage.readthedocs.io/en/coverage-4.4.1/</a>) and found no mention of doctests, but it seems so odd that it wouldn't have <em>some</em> way of including them that I feel like I must be missing something.</p>
  
  <p>If I'm right and coverage won't include them, how can I get a measurement of my test coverage without changing all my doctests into unit tests with <code>unittest</code> (which I don't want to do)?</p>