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

One-line lambdas are missing coverage probes (3.11) #59

Open
xirafa opened this issue Dec 12, 2024 · 0 comments
Open

One-line lambdas are missing coverage probes (3.11) #59

xirafa opened this issue Dec 12, 2024 · 0 comments

Comments

@xirafa
Copy link

xirafa commented Dec 12, 2024

One-line lambdas are missing coverage probes (3.11).

If a lambda is not executed, we don't get any indication.
This is due to interplay between dis.findlinestarts() which removes duplicated, and slipcover.findlinestarts() which ignores noop-like opcode of RESUME and RETURN_GENERATOR.

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

No branches or pull requests

1 participant