pytest icon indicating copy to clipboard operation
pytest copied to clipboard

The pytest framework makes it easy to write small tests, yet scales to support complex functional testing

Results 653 pytest issues
Sort by recently updated
recently updated
newest added

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...

type: enhancement
status: help wanted
type: feature-branch

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...

skip news

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:...

type: proposal
topic: rewrite