Use --color=yes

This commit is contained in:
harupy 2021-07-04 22:14:22 +09:00
parent 9582341e08
commit 2395bc5059
2 changed files with 2 additions and 1 deletions

1
news/10126.trivial.rst Normal file
View File

@ -0,0 +1 @@
Use ``--color=yes`` to color pytest outputs.

View File

@ -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