Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

coverage: Can't combine line data with arc data #24

Closed
mih opened this issue Jun 12, 2024 · 1 comment · Fixed by #26
Closed

coverage: Can't combine line data with arc data #24

mih opened this issue Jun 12, 2024 · 1 comment · Fixed by #26

Comments

@mih
Copy link
Member

mih commented Jun 12, 2024

With #23 I see

❯ hatch test --cov
...
NTERNALERROR>   File "/home/mih/.local/share/hatch/env/virtual/datasalad/Vs1JgA8T/hatch-test.py3.11/lib/python3.11/site-packages/coverage/sqldata.py", line 668, in update
INTERNALERROR>     raise DataError("Can't combine line data with arc data")
INTERNALERROR> coverage.exceptions.DataError: Can't combine line data with arc data

nedbat/coveragepy#399 suggests some impact of pytest-cov

@ofek
Copy link

ofek commented Jun 12, 2024

Hatch does not use pytest-cov FYI

mih added a commit that referenced this issue Jun 14, 2024
I (unintentionally) ran `hatch test -cov` not `hatch test --cover`,
using pytest-cov directly, rather than going through the respective
`hatch` functionality, leading to a crash.

Closes: #24
@mih mih closed this as completed in #26 Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants