| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Hello @bluetech, can I have a review here ? It should be fast. |
Sorry, something went wrong.
There was a problem hiding this comment.
Looks good, thanks! Sorry for the delay in reviewing this.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Hello,
This PR fixes an issue with pytest.approx where the error message was not clear when comparing mappings with different keys. Previously, the comparison would proceed and report -inf mismatches on values or a KeyError, leading to confusing error messages.
The fix adds an early check in ApproxMapping to compare the sets of keys between the expected and actual mappings. If they differ, it returns a clear error message indicating the different keys.
This closes #13816.
Checklist