diff --git a/requirements-test.txt b/requirements-test.txt --- a/requirements-test.txt +++ b/requirements-test.txt @@ -1,4 +1,5 @@ hypothesis -pytest +# pytest<4 because of https://github.com/pytest-dev/pytest/issues/4641 +pytest < 4 pytest-postgresql celery >= 4 diff --git a/tox.ini b/tox.ini --- a/tox.ini +++ b/tox.ini @@ -5,9 +5,8 @@ deps = .[testing] pytest-cov - pifpaf commands = - pifpaf run postgresql -- pytest --cov=swh --cov-branch {posargs} + pytest --cov=swh --cov-branch {posargs} [testenv:flake8] skip_install = true