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

M2 4162 #880

Merged
merged 2 commits into from Nov 29, 2023
Merged

M2 4162 #880

merged 2 commits into from Nov 29, 2023

Conversation

ivangolubykh
Copy link
Contributor

To correctly calculate test coverage, you need to run the coverage with the `--concurrency=thread,gevent` parameter:

```bash
coverage run --concurrency=thread,gevent -m pytest
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can it be async for concurrency?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is needed to analyze asynchronous code. Details of the problem are described here:
nedbat/coveragepy#1082

@ivangolubykh ivangolubykh merged commit 234c12e into develop Nov 29, 2023
2 checks passed
@ivangolubykh ivangolubykh deleted the M2-4162 branch November 29, 2023 13:20
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 this pull request may close these issues.

None yet

3 participants