diff --git a/setup.py b/setup.py index d8b77f3..941ceb9 100644 --- a/setup.py +++ b/setup.py @@ -66,6 +66,7 @@ 'pytest', 'pytest-cov', 'pytest-rerunfailures', + 'pytest-timeout', 'pytest-xdist', ], }, diff --git a/tox.ini b/tox.ini index 68a6c6f..852d63d 100644 --- a/tox.ini +++ b/tox.ini @@ -8,6 +8,9 @@ envlist = lint docs +[pytest] +timeout = 10 + [flake8] per-file-ignores = docs/source/conf.py: E121,E122,E265,E501