Skip to content

Replace uses of RelativeError and AbsoluteError in expectations with the ...From matchers#4482

Open
pleroy wants to merge 14 commits intomockingbirdnest:masterfrom
pleroy:Errors
Open

Replace uses of RelativeError and AbsoluteError in expectations with the ...From matchers#4482
pleroy wants to merge 14 commits intomockingbirdnest:masterfrom
pleroy:Errors

Conversation

@pleroy
Copy link
Member

@pleroy pleroy commented Mar 24, 2026

The expectations are more readable and result in better error messages. They also make it clear which argument is the expected value and which is the actual value.

This was largely AI-generated, so reviewer, beware!

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.

1 participant