another.py 342 B

123456789101112131415
  1. # Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
  2. # For details: https://bitbucket.org/ned/coveragepy/src/default/NOTICE.txt
  3. """A plugin for tests to reference."""
  4. from coverage import CoveragePlugin
  5. class Plugin(CoveragePlugin):
  6. pass
  7. def coverage_init(reg, options):
  8. reg.add_file_tracer(Plugin())