Created
July 1, 2020 16:45
-
-
Save go4Mor4/8e2d42a94326e4cfa7fcc75057229452 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pytest --showlocals # show local variables in tracebacks | |
pytest -l # show local variables (shortcut) | |
pytest --tb=auto # (default) 'long' tracebacks for the first and last | |
# entry, but 'short' style for the other entries | |
pytest --tb=long # exhaustive, informative traceback formatting | |
pytest --tb=short # shorter traceback format | |
pytest --tb=line # only one line per failure | |
pytest --tb=native # Python standard library formatting | |
pytest --tb=no # no traceback at all |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment