Add auto to tb styles (new default since v2.6)

This commit is contained in:
Raphael Pierzina 2016-02-27 20:54:09 +00:00
parent b64aaac7ec
commit a95fe3693b
1 changed files with 6 additions and 3 deletions

View File

@ -66,10 +66,13 @@ Examples for modifying traceback printing::
py.test --showlocals # show local variables in tracebacks
py.test -l # show local variables (shortcut)
py.test --tb=long # the default informative traceback formatting
py.test --tb=native # the Python standard library formatting
py.test --tb=short # a shorter traceback format
py.test --tb=auto # (default) 'long' tracebacks for the first and last
# entry, but 'short' style for the other entries
py.test --tb=long # exhaustive, informative traceback formatting
py.test --tb=short # shorter traceback format
py.test --tb=line # only one line per failure
py.test --tb=native # Python standard library formatting
py.test --tb=no # no traceback at all
Dropping to PDB_ (Python Debugger) on failures
-----------------------------------------------