Skip to content

Commit

Permalink
Merge pull request #10126 from harupy/color-pytest
Browse files Browse the repository at this point in the history
Add `--color=yes` for pytest to color output logs
  • Loading branch information
pradyunsg authored Jul 4, 2021
2 parents 9582341 + 2395bc5 commit f37fc4c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions news/10126.trivial.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Use ``--color=yes`` to color pytest outputs.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f37fc4c

Please sign in to comment.