A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/nedbat/coveragepy/issues/131 below:

Pragma on a decorator line should affect the entire function definition · Issue #131 · nedbat/coveragepy · GitHub

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.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4