Rerun TestPyQIODevice.test_qprocess if needed.
This adds a new pytest-rerunfailures dependency. For some reason, that test sometimes fails with an empty string read, and I can't tell why.
This commit is contained in:
parent
ec4ba31b52
commit
5ae677376b
@ -15,6 +15,7 @@ markers =
|
||||
skip: Always skipped test.
|
||||
pyqt531_or_newer: Needs PyQt 5.3.1 or newer.
|
||||
xfail_norun: xfail the test with out running it
|
||||
flaky: Tests which are flaky and should be rerun
|
||||
qt_log_level_fail = WARNING
|
||||
qt_log_ignore =
|
||||
^SpellCheck: .*
|
||||
|
@ -760,6 +760,7 @@ class TestPyQIODevice:
|
||||
with pytest.raises(io.UnsupportedOperation):
|
||||
pyqiodev.seek(0, whence)
|
||||
|
||||
@pytest.mark.flaky(reruns=1)
|
||||
def test_qprocess(self, py_proc):
|
||||
"""Test PyQIODevice with a QProcess which is non-sequential.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user