test requirements: Update pytest-rerunfailures to 2.1.0

This commit is contained in:
Florian Bruhin 2016-11-02 10:12:10 +01:00
parent cd97ef0047
commit b11a1e92cc
3 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,7 @@ pytest-instafail==0.3.0
pytest-mock==1.3.0
pytest-qt==2.1.0
pytest-repeat==0.4.1
pytest-rerunfailures==2.0.1
pytest-rerunfailures==2.1.0
pytest-travis-fold==1.2.0
pytest-warnings==0.2.0
pytest-xvfb==0.3.0

View File

@ -121,7 +121,7 @@ def pytest_collection_modifyitems(config, items):
if item.get_marker('xfail_norun'):
item.add_marker(pytest.mark.xfail(run=False))
if item.get_marker('flaky_once'):
item.add_marker(pytest.mark.flaky(reruns=1))
item.add_marker(pytest.mark.flaky())
if deselected:
deselected_items.append(item)

View File

@ -771,7 +771,7 @@ class TestPyQIODevice:
with pytest.raises(io.UnsupportedOperation):
pyqiodev.seek(0, whence)
@pytest.mark.flaky(reruns=1)
@pytest.mark.flaky()
def test_qprocess(self, py_proc):
"""Test PyQIODevice with a QProcess which is non-sequential.