- def report(self):
- try:
- # coverage-3.4 has both omit= and include= . include= is applied
- # first, then omit= removes items from what's left. These are
- # tested with fnmatch, against fully-qualified filenames.
- self.find_code_units(None,
- omit=[os.path.abspath("src/allmydata/test/*")],
- include=[os.path.abspath("src/allmydata/*")])
- except TypeError:
- # coverage-3.3 only had omit=
- self.find_code_units(None, ["/System", "/Library", "/usr/lib",
- "support/lib", "src/allmydata/test"])
-
+ def report(self, morfs=None):
+ self.find_code_units(morfs)