diff --git a/news/10126.trivial.rst b/news/10126.trivial.rst new file mode 100644 index 000000000..ba563cd4d --- /dev/null +++ b/news/10126.trivial.rst @@ -0,0 +1 @@ +Use ``--color=yes`` to color pytest outputs. diff --git a/setup.cfg b/setup.cfg index cb1ecab65..d5dfb587e 100644 --- a/setup.cfg +++ b/setup.cfg @@ -54,7 +54,7 @@ follow_imports = skip follow_imports = skip [tool:pytest] -addopts = --ignore src/pip/_vendor --ignore tests/tests_cache -r aR +addopts = --ignore src/pip/_vendor --ignore tests/tests_cache -r aR --color=yes markers = network: tests that need network incompatible_with_test_venv