Skip to content

"-l" does not dump variables where "--tb" is not "long" #494

@pytestbot

Description

@pytestbot

Originally reported by: Ionel Cristian Mărieș (BitBucket: ionelmc, GitHub: ionelmc)


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:

 -rxEfsl
--strict
--ignore docs/conf.py
--ignore setup.py
--doctest-modules
--doctest-glob \*.rst
--tb short

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: tracebacksrelated to displaying and handling of tracebackstype: bugproblem that needs to be addressed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions