chore: make sure xfail test cases are strict

This commit is contained in:
Arthur Meyre
2021-10-08 14:46:13 +02:00
parent 2cfb32d2c1
commit fb9cc79128
2 changed files with 3 additions and 3 deletions

View File

@@ -206,13 +206,13 @@ def test_mix_scalar_values(value1, value2, expected_mixed_value):
ClearTensor(Integer(7, False), (1, 2, 3)),
EncryptedScalar(Integer(7, False)),
None,
marks=pytest.mark.xfail(raises=AssertionError),
marks=pytest.mark.xfail(strict=True, raises=AssertionError),
),
pytest.param(
ClearTensor(Integer(7, False), (1, 2, 3)),
ClearTensor(Integer(7, False), (3, 2, 1)),
None,
marks=pytest.mark.xfail(raises=AssertionError),
marks=pytest.mark.xfail(strict=True, raises=AssertionError),
),
],
)

View File

@@ -53,7 +53,7 @@ def small_fused_table(x):
no_fuse_unhandled,
((-2, 2), (-2, 2)),
["x", "y"],
marks=pytest.mark.xfail(raises=ValueError),
marks=pytest.mark.xfail(strict=True, raises=ValueError),
),
],
)