As of 2.5.0 py.test has the option --color=yes
As of 2.7.0, it should be also possible to do:
export PYTEST_ADDOPTS="--color=yes"
As of 2.5.0 py.test has the option --color=yes
As of 2.7.0, it should be also possible to do:
export PYTEST_ADDOPTS="--color=yes"