File: a_plugin.py

package info (click to toggle)
python-coverage 6.5.0%2Bdfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,580 kB
  • sloc: python: 25,471; ansic: 1,152; javascript: 1,104; makefile: 253; sh: 107; xml: 48
file content (11 lines) | stat: -rw-r--r-- 186 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
"""A plugin for tests to reference."""

from coverage import CoveragePlugin


class Plugin(CoveragePlugin):
    pass


def coverage_init(reg, options):
    reg.add_file_tracer(Plugin())