Commit ea14f810 authored by Stefan Behnel's avatar Stefan Behnel

exclude currently empty Cython.Runtime package from coverage report

--HG--
extra : amend_source : 8230801cb0e5cff944c0a7b4cbd0718f28cb344e
parent af00dc0c
......@@ -1932,9 +1932,10 @@ def runtests(options, cmd_args, coverage=None):
for name in ('Options', 'Version', 'DebugFlags', 'CmdLine'))
modules = [module for name, module in sys.modules.items()
if module is not None and
'.Tests' not in name and
name.startswith('Cython.') and
name not in ignored_modules]
'.Tests' not in name and
name not in ignored_modules and
not name.startswith('Cython.Runtime')]
if options.coverage:
coverage.report(modules, show_missing=0)
if options.coverage_xml:
......
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