Skip to content

Commit f37fc4c

Browse files
authored
Merge pull request #10126 from harupy/color-pytest
Add `--color=yes` for pytest to color output logs
2 parents 9582341 + 2395bc5 commit f37fc4c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

news/10126.trivial.rst

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Use ``--color=yes`` to color pytest outputs.

setup.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ follow_imports = skip
5454
follow_imports = skip
5555

5656
[tool:pytest]
57-
addopts = --ignore src/pip/_vendor --ignore tests/tests_cache -r aR
57+
addopts = --ignore src/pip/_vendor --ignore tests/tests_cache -r aR --color=yes
5858
markers =
5959
network: tests that need network
6060
incompatible_with_test_venv

0 commit comments

Comments
 (0)