Skip to content

Commit

Permalink
Make xfail strict
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardoV94 committed Oct 8, 2024
1 parent 2623c05 commit 5449562
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion tests/link/jax/test_einsum.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 0 additions & 1 deletion tests/tensor/rewriting/test_elemwise.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5449562

Please sign in to comment.