| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Hello @bluetech, can I have a review here ? It should be fast. |
Sorry, something went wrong.
|
Hello @nicoddemus, thanks for your review for #13818 Here is a similar contribution to take a look to when you have the time |
Sorry, something went wrong.
There was a problem hiding this comment.
Thanks!
Sorry, something went wrong.
…paring mappings with different keys
…er to compare them
…apping keys order
Backport to 9.0.x: 💚 backport PR created✅ Backport PR branch: patchback/backports/9.0.x/e95a843a5dbf8af618d0714705bbf97dfdb04044/pr-13815 Backported as #14142 🤖 @patchback |
Sorry, something went wrong.
…pare them (#13815) This fixes an issue with `pytest.approx` where the error message incorrectly reported all elements as mismatched when comparing mappings with different key orders, even when only some values differed. The original code paired values by position rather than by key. This caused incorrect mismatch reporting when dictionary keys were in different orders. Fixes #12444 (cherry picked from commit e95a843)
…pare them (#13815) (#14142) This fixes an issue with `pytest.approx` where the error message incorrectly reported all elements as mismatched when comparing mappings with different key orders, even when only some values differed. The original code paired values by position rather than by key. This caused incorrect mismatch reporting when dictionary keys were in different orders. Fixes #12444 (cherry picked from commit e95a843) Co-authored-by: Charles-Meldhine Madi Mnemoi <63333367+cmnemoi@users.noreply.github.com>
| Back | FazBrowse Home | New Git URL |
Hello,
This PR fixes an issue with pytest.approx where the error message incorrectly reported all elements as mismatched when comparing mappings with different key orders, even when only some values differed.
The original code paired values by position rather than by key. This caused incorrect mismatch reporting when dictionary keys were in different orders.
This closes #12444.
Checklist