From 72f1a6cc1f3422ac5390b8aa4fce6215814adfe5 Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Tue, 24 Jul 2018 18:28:08 -0700 Subject: [PATCH] Fix bug preventing coverage of setup module. --- test/runner/lib/cover.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/runner/lib/cover.py b/test/runner/lib/cover.py index fca629aacb..a1b131ee0b 100644 --- a/test/runner/lib/cover.py +++ b/test/runner/lib/cover.py @@ -39,7 +39,7 @@ def command_coverage_combine(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]