Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

_compare_eq_sequence: align index diff for longer values #218

Merged
merged 2 commits into from
Feb 13, 2020

Conversation

blueyed
Copy link
Owner

@blueyed blueyed commented Feb 13, 2020

Helps with visually scanning the differences. Offsets are pretty
arbitrary.

E       AssertionError: assert …
E         At index 0 diff:
E         '(pytest_assertion plugin: representation of details failed: {}.' !=
E         '(pytest_assertion plugin: representation of details failed: {}:720: ValueError: 42.'
E         Use -v to get the full diff

Helps with visually scanning the differences. Offsets are pretty
arbitrary.

E       AssertionError: assert …
E         At index 0 diff:
E         '(pytest_assertion plugin: representation of details failed: {}.' !=
E         '(pytest_assertion plugin: representation of details failed: {}:720: ValueError: 42.'
E         Use -v to get the full diff
@blueyed blueyed merged commit 132017a into my-master Feb 13, 2020
@blueyed blueyed deleted the _compare_eq_sequence-align-without-full-diff branch February 13, 2020 19:18
blueyed added a commit that referenced this pull request Feb 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant