diff --git a/testing/test_looponfail.py b/testing/test_looponfail.py index 6c714fd..e6d2bb9 100644 --- a/testing/test_looponfail.py +++ b/testing/test_looponfail.py @@ -193,6 +193,8 @@ class TestLooponFailing: assert 'test_one' not in remotecontrol.failures[0] assert 'test_two' in remotecontrol.failures[0] + @py.test.mark.xfail(py.test.__version__ >= "3.1", + reason="broken by pytest 3.1+") def test_looponfail_removed_test(self, testdir): modcol = testdir.getmodulecol(""" def test_one():