A seemingly minor change makes all the difference.  The nose plugin cover.py excludes reporting on any module imported when coverage started.  It imports coverage, then records the list of modules imported.  With the coverage.collector import in the constructor, coverage.collector wasn't imported when the snapshot was taken, so coverage.collector appeared in the nose output.  By moving the import to module scope, it will be imported early enough to be skipped.  Fixes issue #8.
A seemingly minor change makes all the difference.  The nose plugin cover.py excludes reporting on any module imported when coverage started.  It imports coverage, then records the list of modules imported.  With the coverage.collector import in the constructor, coverage.collector wasn't imported when the snapshot was taken, so coverage.collector appeared in the nose output.  By moving the import to module scope, it will be imported early enough to be skipped.  Fixes issue #8.

larsbutler/coveragepy,hugovk/coveragepy,blueyed/coveragepy,jayhetee/coveragepy,hugovk/coveragepy,jayhetee/coveragepy,hugovk/coveragepy,blueyed/coveragepy,larsbutler/coveragepy,nedbat/coveragepy,hugovk/coveragepy,nedbat/coveragepy,7WebPages/coveragepy,blueyed/coveragepy,larsbutler/coveragepy,blueyed/coveragepy,nedbat/coveragepy,hugovk/coveragepy,jayhetee/coveragepy,nedbat/coveragepy,nedbat/coveragepy,jayhetee/coveragepy,7WebPages/coveragepy,larsbutler/coveragepy,larsbutler/coveragepy,7WebPages/coveragepy,7WebPages/coveragepy,blueyed/coveragepy,jayhetee/coveragepy