Commit de5d9be9 authored by Stefan Behnel's avatar Stefan Behnel

exclude Tests packages from coverage analysis

--HG--
extra : amend_source : 44298a4bc8ecb8fcc729f7b741ecedd6ad4200b3
parent 37b4ce75
......@@ -1931,6 +1931,7 @@ def runtests(options, cmd_args, coverage=None):
modules = [ module for name, module in sys.modules.items()
if module is not None and
name.startswith('Cython.Compiler.') and
'.Tests' not in name and
name[len('Cython.Compiler.'):] not in ignored_modules ]
if options.coverage:
coverage.report(modules, show_missing=0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment