diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2015-08-02 17:08:32 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2015-08-02 17:08:32 -0400 |
commit | 847c27b6a897b0ba08bac801c4c1b9025b41e9ab (patch) | |
tree | 64a6e8776e8762e651d5b9ee8463b87d493a7e34 /coverage/collector.py | |
parent | c6332b5d876e5b02246d5b8939f82d7c8606e391 (diff) | |
download | python-coveragepy-git-847c27b6a897b0ba08bac801c4c1b9025b41e9ab.tar.gz |
Why didn't I get rid of this TODO ages ago?
Diffstat (limited to 'coverage/collector.py')
-rw-r--r-- | coverage/collector.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/coverage/collector.py b/coverage/collector.py index ae5f6c8b..ff7400e8 100644 --- a/coverage/collector.py +++ b/coverage/collector.py @@ -65,7 +65,8 @@ class Collector(object): `should_trace` is a function, taking a filename, and returning a `coverage.FileDisposition object`. - TODO: `check_include` + `check_include` is a function taking a filename and a frame. It returns + a boolean: True if the file should be traced, False if not. If `timid` is true, then a slower simpler trace function will be used. This is important for some environments where manipulation of |