1. Marc Abramowitz
  2. pytest

Commits

holger krekel  committed 31f89c6

add changelog entry: PR90: add --color=yes|no|auto option to force terminal coloring
mode ("auto" is default). Thanks Marc Abramowitz.

  • Participants
  • Parent commits 29c5325
  • Branches default

Comments (0)

Files changed (3)

File AUTHORS

View file
  • Ignore whitespace
 Katarzyna Jachim
 Christian Theunert
 Anthon van der Neut
+Mark Abramowitz

File CHANGELOG

View file
  • Ignore whitespace
   hook and expecting certain fixture instances are torn down within (very
   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 
   tests independently from number of methods on the class.  
 

File _pytest/terminal.py

View file
  • Ignore whitespace
     group._addoption('--color', metavar="color",
                action="store", dest="color", default='auto',
                choices=['yes', 'no', 'auto'],
-               help="color output (yes/no/auto).")
+               help="color terminal output (yes/no/auto).")
 
 def pytest_configure(config):
     config.option.verbose -= config.option.quiet