diff --git a/setup.cfg b/setup.cfg index bef3558a5..d08d9968c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -73,7 +73,7 @@ dev = nbsphinx pycodestyle pytest-cov<2.6.0 - pytest>=3.2 + pytest>=3.2,<4.6 sphinx sphinx_rtd_theme>=0.4.3 nbsphinx diff --git a/tox.ini b/tox.ini index 697314525..f09c722ce 100644 --- a/tox.ini +++ b/tox.ini @@ -27,6 +27,7 @@ usedevelop = false deps = pytest-cov ipywidgets + pytest<4.6 skip_install = false commands = {posargs:pytest --cov --cov-report=term-missing -vv src/poliastro/tests}