From 2395bc5059cf7ba15ec49aa59c0e20a4391d8f3b Mon Sep 17 00:00:00 2001 From: harupy Date: Sun, 4 Jul 2021 22:14:22 +0900 Subject: [PATCH] Use --color=yes --- news/10126.trivial.rst | 1 + setup.cfg | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 news/10126.trivial.rst 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