Skip to content

Commit 96121bb

Browse files
committed
Setting @pytest.mark.xfail strict=False (some tests pass with PyPy, some don't).
1 parent a5e6007 commit 96121bb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_class_sh_disowning_mi.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ def test_multiple_inheritance_python():
205205

206206

207207
@pytest.mark.skipif("env.PYPY and env.PY2")
208-
@pytest.mark.xfail("env.PYPY and not env.PY2")
208+
@pytest.mark.xfail("env.PYPY and not env.PY2", strict=False)
209209
@pytest.mark.parametrize("cls, i, j, v", DISOWN_CLS_I_J_V_LIST)
210210
def test_disown_base1_first(cls, i, j, v):
211211
obj = cls(i, j)
@@ -220,7 +220,7 @@ def test_disown_base1_first(cls, i, j, v):
220220

221221

222222
@pytest.mark.skipif("env.PYPY and env.PY2")
223-
@pytest.mark.xfail("env.PYPY and not env.PY2")
223+
@pytest.mark.xfail("env.PYPY and not env.PY2", strict=False)
224224
@pytest.mark.parametrize("cls, i, j, v", DISOWN_CLS_I_J_V_LIST)
225225
def test_disown_base2_first(cls, i, j, v):
226226
obj = cls(i, j)
@@ -235,7 +235,7 @@ def test_disown_base2_first(cls, i, j, v):
235235

236236

237237
@pytest.mark.skipif("env.PYPY and env.PY2")
238-
@pytest.mark.xfail("env.PYPY and not env.PY2")
238+
@pytest.mark.xfail("env.PYPY and not env.PY2", strict=False)
239239
@pytest.mark.parametrize(
240240
"cls, j, v",
241241
[

0 commit comments

Comments
 (0)