Skip to content

Commit b5a0ca1

Browse files
committed
Make xfail strict
1 parent c854bc3 commit b5a0ca1

File tree

3 files changed

+1
-2
lines changed

3 files changed

+1
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ tag_prefix = "rel-"
119119
[tool.pytest.ini_options]
120120
addopts = "--durations=50 --doctest-modules --ignore=pytensor/link --ignore=pytensor/misc/check_duplicate_key.py"
121121
testpaths = ["pytensor/", "tests/"]
122+
xfail_strict = true
122123

123124
[tool.ruff]
124125
line-length = 88

tests/link/jax/test_einsum.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ def test_jax_einsum():
2424
compare_jax_and_py(fg, [x, y, z])
2525

2626

27-
@pytest.mark.xfail(raises=NotImplementedError)
2827
def test_ellipsis_einsum():
2928
subscripts = "...i,...i->..."
3029
x = np.random.rand(2, 5)

tests/tensor/rewriting/test_elemwise.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1057,7 +1057,6 @@ def test_big_fusion(self):
10571057
for node in dlogp.maker.fgraph.toposort()
10581058
)
10591059

1060-
@pytest.mark.xfail(reason="Fails due to #1244")
10611060
def test_add_mul_fusion_precedence(self):
10621061
"""Test that additions and multiplications are "fused together" before
10631062
a `Composite` `Op` is introduced. This fusion is done by canonicalization

0 commit comments

Comments
 (0)