Exclude a function from coverage
Exclude a function from coverage Question: I am using coverage.py to get the test coverage of the code. Suppose I have two functions with the same name in two different modules # foo/foo.py def get_something(): # fetch something # 10 line of branch code return "something foo/foo.py" # bar/foo.py def get_something(): # fetch something # …
Total answers: 1