Skip to content

Conversation

@andfoy
Copy link
Contributor

@andfoy andfoy commented Apr 22, 2025

Fixes #50

Apparently, the call to visit_Assign was not recursing on its children, therefore, assignments that had target calls to blacklisted functions were not being covered, by recursing now, it works as expected.

@ngoldbaum
Copy link
Collaborator

Nice! I verified that the test you added fails on main. In it goes.

@ngoldbaum ngoldbaum merged commit ac01873 into main Apr 22, 2025
9 checks passed
@andfoy andfoy deleted the recurse_on_assign branch April 22, 2025 18:30
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.

use of pytest.warns not detected - possible regression in 0.4.0

3 participants