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: stricter error assertions #474

Merged
merged 2 commits into from
Jan 17, 2025
Merged

Conversation

enitrat
Copy link
Collaborator

@enitrat enitrat commented Jan 17, 2025

Closes #438
use a special contextmanager that asserts the error raised is EXACTLY of the expected type.

@enitrat enitrat requested a review from Eikix January 17, 2025 11:17
obatirou
obatirou previously approved these changes Jan 17, 2025
@Eikix
Copy link
Member

Eikix commented Jan 17, 2025

conflicts

@enitrat enitrat merged commit 170de09 into main Jan 17, 2025
4 checks passed
@enitrat enitrat deleted the feat/stricter-error-assertios branch January 17, 2025 13:59
@enitrat enitrat mentioned this pull request Jan 17, 2025
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.

create custom contextmanager for error assertions
3 participants