Commit 4572c0c
committed
make pytest and coverage work together (hacky)
- add tests/__init__.py to coax pytest-cov to report coverage
"CoverageWarning: No data was collected. (no-data-collected)"
is supposedly fixed with this empty
__init__.py (see https://stackoverflow.com/a/60579142)
- inplace-installation so that coverage and pytest work with generated authors.py
(with standard installation AND the tests/__init__.py, pytest picks up the local sources
that does not contain the generated authors.py and fails)1 parent 6847bc0 commit 4572c0c
2 files changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
0 commit comments