summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2020-12-09 17:39:57 -0500
committerGitHub <noreply@github.com>2020-12-09 16:39:57 -0600
commitb450df1d09cad3018abd51065d5dbba9064ca67c (patch)
tree08fcda4382ebd21a1f296f342135238c50e39c5c
parentd6274d695e01de7c6ce073ce1d0899992090621e (diff)
downloadcryptography-b450df1d09cad3018abd51065d5dbba9064ca67c.tar.gz
print 10 slowest tests to help us keep runtimes down (#5622)
-rw-r--r--tox.ini4
1 files changed, 2 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index a420dceaf..ac199e328 100644
--- a/tox.ini
+++ b/tox.ini
@@ -18,7 +18,7 @@ commands =
# We use parallel mode and then combine here so that coverage.py will take
# the paths like .tox/py38/lib/python3.8/site-packages/cryptography/__init__.py
# and collapse them into src/cryptography/__init__.py.
- coverage run --parallel-mode -m pytest --capture=no --strict {posargs}
+ coverage run --parallel-mode -m pytest --capture=no --strict --durations=10 {posargs}
coverage combine
coverage report -m
@@ -28,7 +28,7 @@ commands =
basepython = pypy3
commands =
pip list
- pytest --capture=no --strict {posargs}
+ pytest --capture=no --strict --durations=10 {posargs}
[testenv:docs]
extras =