Commit a2ed83b3 authored by Stefan Behnel's avatar Stefan Behnel

exclude uninteresting module from coverage report

parent 4b26a347
...@@ -1929,7 +1929,9 @@ def runtests(options, cmd_args, coverage=None): ...@@ -1929,7 +1929,9 @@ def runtests(options, cmd_args, coverage=None):
coverage.stop() coverage.stop()
ignored_modules = set( ignored_modules = set(
'Cython.Compiler.' + name 'Cython.Compiler.' + name
for name in ('Version', 'DebugFlags', 'CmdLine')) for name in ('Version', 'DebugFlags', 'CmdLine')) | set(
'Cython.' + name
for name in ('Debugging',))
modules = [module for name, module in sys.modules.items() modules = [module for name, module in sys.modules.items()
if module is not None and if module is not None and
name.startswith('Cython.') and name.startswith('Cython.') and
......
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