From a6af7a90cbc40046659b469ee2687f451b3458d5 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Mon, 1 Jan 2018 00:20:52 +0100 Subject: [PATCH] Compatibility with pytest-rerunfailures 4.0 --- src/pytest.ini | 2 +- src/requirements/dev.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pytest.ini b/src/pytest.ini index 7a7ce31252..d88b2f1c8b 100644 --- a/src/pytest.ini +++ b/src/pytest.ini @@ -1,3 +1,3 @@ [pytest] DJANGO_SETTINGS_MODULE=tests.settings -addopts =--rerun 3 -rw +addopts =--reruns 3 -rw diff --git a/src/requirements/dev.txt b/src/requirements/dev.txt index 4e13a20947..2ce1a788c5 100644 --- a/src/requirements/dev.txt +++ b/src/requirements/dev.txt @@ -11,7 +11,7 @@ pytest==3.0.* pytest-django isort pytest-mock==1.4.* -pytest-rerunfailures +pytest-rerunfailures==4.* pytest-warnings pytest-cache pytest-sugar