[Pytest-commit] Issue #494: Better assertion help when comparing lists (hpk42/pytest)
Ionel Maries Cristian
issues-reply at bitbucket.org
Mon Mar 31 13:24:17 CEST 2014
New issue 494: Better assertion help when comparing lists
https://bitbucket.org/hpk42/pytest/issue/494/better-assertion-help-when-comparing-lists
Ionel Maries Cristian:
Example output
```
> assert hist == ['before', 'the-return-valuex', 'after', 'finally', 'closed']
E assert ['before', 't...ly', 'closed'] == ['before', 'th...ly', 'closed']
E At index 1 diff: 'the-return-value' != 'the-return-valuex'
```
I use these options:
```
-rxEfs
--strict
--ignore docs/conf.py
--ignore setup.py
--doctest-modules
--doctest-glob \*.rst
--tb short
```
More information about the pytest-commit
mailing list