From f573983e38b58732fcf80e6c67ea11dffa5bb62c Mon Sep 17 00:00:00 2001 From: hauntsaninja Date: Wed, 31 Aug 2022 15:33:21 -0700 Subject: [PATCH] [minor] Actually, don't report test durations This gets in the way more than I thought and has not inspired anyone to make tests faster. --- test-data/unit/README.md | 2 +- tox.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test-data/unit/README.md b/test-data/unit/README.md index d95fd80ae818..6cf0b1bb26cf 100644 --- a/test-data/unit/README.md +++ b/test-data/unit/README.md @@ -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 diff --git a/tox.ini b/tox.ini index 18d4003319ff..503fc5eb9bee 100644 --- a/tox.ini +++ b/tox.ini @@ -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