diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2010-05-15 11:50:39 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2010-05-15 11:50:39 -0400 |
commit | 0686f8453036455539e7d34697b73638fa8c1087 (patch) | |
tree | 8742c5f19d8df80464209bc6cd16dc8339aa8f59 /coverage/summary.py | |
parent | 97265b62b1ae9d28952cdee7a72e8c2e77673a1e (diff) | |
download | python-coveragepy-0686f8453036455539e7d34697b73638fa8c1087.tar.gz |
Change 'requires' to 'include'.
Diffstat (limited to 'coverage/summary.py')
-rw-r--r-- | coverage/summary.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/coverage/summary.py b/coverage/summary.py index 696f6b3..df73037 100644 --- a/coverage/summary.py +++ b/coverage/summary.py @@ -14,16 +14,16 @@ class SummaryReporter(Reporter): self.show_missing = show_missing self.branches = coverage.data.has_arcs() - def report(self, morfs, omit_prefixes=None, outfile=None, require_prefixes=None): + def report(self, morfs, omit_prefixes=None, outfile=None, include_prefixes=None): """Writes a report summarizing coverage statistics per module. `omit_prefixes` is a list of prefixes. CodeUnits that match those prefixes will be omitted from the list. - `require_prefixes` is a list of prefixes. Only CodeUnits that match those prefixes + `include_prefixes` is a list of prefixes. Only CodeUnits that match those prefixes will be included in the list. - You are required to pass at most one of `omit_prefixes` and `require_prefixes`. + You are required to pass at most one of `omit_prefixes` and `include_prefixes`. """ - self.find_code_units(morfs, omit_prefixes, require_prefixes) + self.find_code_units(morfs, omit_prefixes, include_prefixes) # Prepare the formatting strings max_name = max([len(cu.name) for cu in self.code_units] + [5]) |