diff options
author | Julien Jehannet <julien.jehannet@logilab.fr> | 2009-01-20 13:02:54 +0100 |
---|---|---|
committer | Julien Jehannet <julien.jehannet@logilab.fr> | 2009-01-20 13:02:54 +0100 |
commit | ac5caf4deba1db3c848cb85f1f2fc08cd9999273 (patch) | |
tree | 90c0a5a42bcd9e698b62992161f7ea54028138eb /pytest.py | |
parent | 35474657bdff7b708d3c8812be6386e25383095c (diff) | |
parent | d432b81bdc55e78bd7c681b365af9fcb37610d4b (diff) | |
download | logilab-common-ac5caf4deba1db3c848cb85f1f2fc08cd9999273.tar.gz |
(merge)
Diffstat (limited to 'pytest.py')
-rw-r--r-- | pytest.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -592,6 +592,9 @@ def make_parser(): action="callback", help="Captures and prints standard out/err only on errors " "(only make sense when pytest run one test file)") + parser.add_option('--color', callback=rebuild_cmdline, + action="callback", + help="colorize tracebacks") parser.add_option('-p', '--printonly', # XXX: I wish I could use the callback action but it # doesn't seem to be able to get the value |