title: how to know if my Python tests are running in coverage mode?
body: <p>I am running Ned Batchelder's <a href="https://pypi.python.org/pypi/coverage" rel="nofollow">coverage</a> module on continuous integration using Travis CI but I want to run only integration tests and skip functional ones because they take too long and coverage measurement is not affected by them.</p>
  
  <p>I created a special configuration for this, but I want to know if there is an alternate method of knowing, inside a Python script, is the code is being run by coverage or not.</p>