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

tests: contextlib.suppress does not return anything #9444

Conversation

radoering
Copy link
Member

While writing a test, I noticed that it passed although it was supposed to fail. The AssertionError was swallowed in the switch_working_directory context manager. I found no reference that contextlib.suppress returns anything. Therefore, I replaced this bogus expection handling.

@radoering radoering requested a review from a team May 26, 2024 16:18
@radoering radoering mentioned this pull request May 26, 2024
2 tasks
@Secrus Secrus merged commit b32a260 into python-poetry:main May 27, 2024
60 checks passed
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants