From 875f226d3bd29d1fd714b3bdaaf0038690f9c530 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Sun, 27 Sep 2020 21:25:04 +0300 Subject: [PATCH 1/2] Smoke test pytest-rerunfailures --- tox.ini | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tox.ini b/tox.ini index 3e96ef49b97..c0e7409648a 100644 --- a/tox.ini +++ b/tox.ini @@ -130,6 +130,7 @@ deps = pytest-flakes pytest-html pytest-mock + pytest-rerunfailures pytest-sugar pytest-trio pytest-twisted @@ -143,6 +144,7 @@ commands = pytest --cov=. simple_integration.py pytest --ds=django_settings simple_integration.py pytest --html=simple.html simple_integration.py + pytest --reruns 5 simple_integration.py pytest pytest_anyio_integration.py pytest pytest_asyncio_integration.py pytest pytest_mock_integration.py From 6ee1eadd1c91e77b07d2275faae30398d5cb6b19 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Fri, 2 Oct 2020 23:40:50 -0300 Subject: [PATCH 2/2] Fake setuptools-scm into using version 6.2.0a1 Due to pytest-rerunfailures latest version requiring 6.1.0, which is not tagged on master. --- tox.ini | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tox.ini b/tox.ini index c0e7409648a..a4c311b37b6 100644 --- a/tox.ini +++ b/tox.ini @@ -138,6 +138,8 @@ deps = pytest-xvfb setenv = PYTHONPATH=. + # due to pytest-rerunfailures requiring 6.2+; can be removed after 6.2.0 + SETUPTOOLS_SCM_PRETEND_VERSION=6.2.0a1 commands = pip check pytest bdd_wallet.py