mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-21 04:10:17 +08:00
Merge pull request #5239 from takluyver/coverage-exclude-tests
Fix exclusion of tests directories from coverage reports
This commit is contained in:
commit
1ff8d9153a
@ -458,7 +458,7 @@ def run_iptestall(options):
|
||||
|
||||
# Reimplement the html_report method with our custom reporter
|
||||
cov._harvest_data()
|
||||
cov.config.from_args(omit='*%stests' % os.sep, html_dir=html_dir,
|
||||
cov.config.from_args(omit='*{0}tests{0}*'.format(os.sep), html_dir=html_dir,
|
||||
html_title='IPython test coverage',
|
||||
)
|
||||
reporter = CustomHtmlReporter(cov, cov.config)
|
||||
|
Loading…
Reference in New Issue
Block a user