Fix bug preventing coverage of setup module.

This commit is contained in:
Matt Clay 2018-07-24 18:28:08 -07:00
parent 32b5992578
commit 72f1a6cc1f

View file

@ -39,7 +39,7 @@ def command_coverage_combine(args):
""" """
coverage = initialize_coverage(args) coverage = initialize_coverage(args)
modules = dict((t.module, t.path) for t in list(walk_module_targets())) modules = dict((t.module, t.path) for t in list(walk_module_targets()) if t.path.endswith('.py'))
coverage_files = [os.path.join(COVERAGE_DIR, f) for f in os.listdir(COVERAGE_DIR) if '=coverage.' in f] coverage_files = [os.path.join(COVERAGE_DIR, f) for f in os.listdir(COVERAGE_DIR) if '=coverage.' in f]