Skip to content

Conversation

nicoddemus
Copy link
Member

This return swallows any exceptions that might happen inside the try/finally block.

While this does seem intentional, there is no reason for set(item.nodeid ...) to not work, given nodeid is a string.

Fix #58

This `return` swallows any exceptions that might happen inside the `try/finally` block.

While this does seem intentional, there is no reason for `set(item.nodeid ...)` to not work, given `nodeid` is a string.

Fix pytest-dev#58
@nicoddemus nicoddemus merged commit 754a8e4 into pytest-dev:main Jun 22, 2025
12 checks passed
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.

return in finally swallows exceptions
1 participant