Skip to content

Commit

Permalink
[minor] Actually, don't report test durations (#13571)
Browse files Browse the repository at this point in the history
This gets in the way more than I thought and has not inspired anyone to
make tests faster.
  • Loading branch information
hauntsaninja committed Aug 31, 2022
1 parent 9393fa1 commit 7ffaf23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test-data/unit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ significantly decrease performance.

To run tests with coverage:

python3 -m pytest --durations 100 --cov mypy --cov-config setup.cfg --cov-report=term-missing:skip-covered --cov-report=html
python3 -m pytest --cov mypy --cov-config setup.cfg --cov-report=term-missing:skip-covered --cov-report=html


Debugging
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ isolated_build = true
description = run the test driver with {basepython}
passenv = PYTEST_XDIST_WORKER_COUNT PROGRAMDATA PROGRAMFILES(X86)
deps = -rtest-requirements.txt
commands = python -m pytest --durations 100 {posargs}
commands = python -m pytest {posargs}

[testenv:lint]
description = check the code style
Expand Down

0 comments on commit 7ffaf23

Please sign in to comment.