diff --git a/tools/test-tools b/tools/test-tools index 821e2cf1d1..bfd6dcf28f 100755 --- a/tools/test-tools +++ b/tools/test-tools @@ -29,7 +29,7 @@ if __name__ == '__main__': if options.coverage: import coverage - cov = coverage.Coverage(omit="*/zulip-venv-cache/*") + cov = coverage.Coverage(omit=[ "*/zulip-venv-cache/*", dir_join(tools_test_dir, "*") ]) cov.start() suite = loader.discover(start_dir=tools_test_dir, top_level_dir=root_dir)