pytest
pytest copied to clipboard
The pytest framework makes it easy to write small tests, yet scales to support complex functional testing
When unittest.mock.ANY is used, and assertion fails, the pytest diff is confusing, and it mistakenly marks ANY being non-equal to the value on the other side. This is especially confusing...
Following https://github.com/pytest-dev/pytest/pull/13727, there's some potential for match in ``assertrepr_compare`` (a lot of isinstance check are hidden inside helper function like isset isttxt, issequence, etc), and maybe some refactor to do...
Hello there! Would improving the diff algorithm be considered / easy-to-do in this case? ``` E AssertionError: assert ['scaling', '...en', 'scroll'] == ['score', 'screen', 'scroll'] E At index 0 diff:...