-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Open
Labels
topic: rewriterelated to the assertion rewrite mechanismrelated to the assertion rewrite mechanismtype: proposalproposal for a new feature, often to gather opinions or design the API around the new featureproposal for a new feature, often to gather opinions or design the API around the new feature
Description
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: 'scaling' != 'score'
E Left contains one more item: 'scroll'
E Use -v to get the full diff
>>>
E AssertionError: assert ['scaling', '...en', 'scroll'] == ['score', 'screen', 'scroll']
E At index 0 diff: 'scaling' != 'score'
E Left contains one more item: 'scroll'
E Full diff:
E - ['score', 'screen', 'scroll']
E + ['scaling', 'score', 'screen', 'scroll']
E ? +++++++++++
There's "just one more element"; not index 0 != and one more item (which is actually not the extra one).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
topic: rewriterelated to the assertion rewrite mechanismrelated to the assertion rewrite mechanismtype: proposalproposal for a new feature, often to gather opinions or design the API around the new featureproposal for a new feature, often to gather opinions or design the API around the new feature