implement and naively test the native traceback style

--HG--
branch : trunk
This commit is contained in:
Ronny Pfannschmidt
2010-09-08 12:00:36 +02:00
parent c17bb32f70
commit 2b59200786
3 changed files with 19 additions and 2 deletions

View File

@@ -22,7 +22,7 @@ def pytest_addoption(parser):
help="(deprecated, use -r)")
group._addoption('--tb', metavar="style",
action="store", dest="tbstyle", default='long',
type="choice", choices=['long', 'short', 'no', 'line'],
type="choice", choices=['long', 'short', 'no', 'line', 'native'],
help="traceback print mode (long/short/line/no).")
group._addoption('--fulltrace',
action="store_true", dest="fulltrace", default=False,