1. Ned Batchelder
  2. coverage.py
  3. Issues
Issue #131 resolved

Pragma on a decorator line should affect the entire function definition

Ned Batchelder
repo owner created an issue

From a question in #python:

{{{ abstractmethod #pragma: no cover def something_abstract(): pass }}} This should exclude the entire definition and body of the function. In particular, it would be good to be able to add an exclusion regex of "abstractmethod" and have all the abstract methods be ignored.

Comments (2)

  1. Log in to comment