diff --git a/pyproject.toml b/pyproject.toml index 95198d656e..42c2289dde 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -119,6 +119,7 @@ tag_prefix = "rel-" [tool.pytest.ini_options] addopts = "--durations=50 --doctest-modules --ignore=pytensor/link --ignore=pytensor/misc/check_duplicate_key.py" testpaths = ["pytensor/", "tests/"] +xfail_strict = true [tool.ruff] line-length = 88 diff --git a/tests/link/jax/test_einsum.py b/tests/link/jax/test_einsum.py index 28c6d7e3b1..c6f968fab6 100644 --- a/tests/link/jax/test_einsum.py +++ b/tests/link/jax/test_einsum.py @@ -24,7 +24,6 @@ def test_jax_einsum(): compare_jax_and_py(fg, [x, y, z]) -@pytest.mark.xfail(raises=NotImplementedError) def test_ellipsis_einsum(): subscripts = "...i,...i->..." x = np.random.rand(2, 5) diff --git a/tests/tensor/rewriting/test_elemwise.py b/tests/tensor/rewriting/test_elemwise.py index 82cfa884af..fc429bb596 100644 --- a/tests/tensor/rewriting/test_elemwise.py +++ b/tests/tensor/rewriting/test_elemwise.py @@ -1057,7 +1057,6 @@ def test_big_fusion(self): for node in dlogp.maker.fgraph.toposort() ) - @pytest.mark.xfail(reason="Fails due to #1244") def test_add_mul_fusion_precedence(self): """Test that additions and multiplications are "fused together" before a `Composite` `Op` is introduced. This fusion is done by canonicalization