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

Pytest may not run with coverage #720

Closed
grouigrokon opened this issue May 14, 2024 · 0 comments · Fixed by #721
Closed

Pytest may not run with coverage #720

grouigrokon opened this issue May 14, 2024 · 0 comments · Fixed by #721
Assignees

Comments

@grouigrokon
Copy link
Contributor

When trying to run a single test with the latest pytest driver, it ends up with:

INTERNALERROR>   File ".../lib/python3.11/site-packages/_pytest/config/__init__.py", line 1709, in getoption
INTERNALERROR>     raise ValueError(f"no option named {name!r}") from e
INTERNALERROR> ValueError: no option named 'cov_source'
@grouigrokon grouigrokon self-assigned this May 14, 2024
grouigrokon added a commit to grouigrokon/e3-core that referenced this issue May 14, 2024
The source coverage option may not be defined when running the tests
manually. The option existence should be checked before trying to get
it.

Closes AdaCore#720
grouigrokon added a commit to grouigrokon/e3-core that referenced this issue May 14, 2024
The source coverage option may not be defined when running the tests
manually. The option existence should be checked before trying to get
it.

Closes AdaCore#720
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant