coverage run's "source" can be a path or a module.

coverage xml pretends it's a path, so we need to give a path that
exists on the file system for <sources> to be set.
This commit is contained in:
Mark Williams 2017-04-22 12:55:19 -07:00
parent 7e468c3139
commit 23ee8eea5d
1 changed files with 2 additions and 1 deletions

View File

@ -2,10 +2,11 @@
branch = True
source =
hyperlink
../hyperlink
[paths]
source =
../hyperlink
*/lib/python*/site-packages/hyperlink
*/Lib/site-packages/hyperlink
pypy/site-packages/hyperlink
*/pypy/site-packages/hyperlink