add changelog entry: PR90: add --color=yes|no|auto option to force terminal coloring

mode ("auto" is default).  Thanks Marc Abramowitz.
This commit is contained in:
holger krekel 2013-12-08 20:25:36 +01:00
parent 9e03ea8215
commit 7d9297e929
3 changed files with 5 additions and 1 deletions

View File

@ -35,3 +35,4 @@ Brian Okken
Katarzyna Jachim Katarzyna Jachim
Christian Theunert Christian Theunert
Anthon van der Neut Anthon van der Neut
Mark Abramowitz

View File

@ -10,6 +10,9 @@ Unreleased
hook and expecting certain fixture instances are torn down within (very hook and expecting certain fixture instances are torn down within (very
unlikely and would have been unreliable anyway). unlikely and would have been unreliable anyway).
- PR90: add --color=yes|no|auto option to force terminal coloring
mode ("auto" is default). Thanks Marc Abramowitz.
- fix issue396 - correctly sort and finalize class-scoped parametrized - fix issue396 - correctly sort and finalize class-scoped parametrized
tests independently from number of methods on the class. tests independently from number of methods on the class.

View File

@ -32,7 +32,7 @@ def pytest_addoption(parser):
group._addoption('--color', metavar="color", group._addoption('--color', metavar="color",
action="store", dest="color", default='auto', action="store", dest="color", default='auto',
choices=['yes', 'no', 'auto'], choices=['yes', 'no', 'auto'],
help="color output (yes/no/auto).") help="color terminal output (yes/no/auto).")
def pytest_configure(config): def pytest_configure(config):
config.option.verbose -= config.option.quiet config.option.verbose -= config.option.quiet