Skip to content

Commit b248eba

Browse files
committed
Make xfail strict
1 parent fbd14ed commit b248eba

File tree

3 files changed

+1
-2
lines changed

3 files changed

+1
-2
lines changed

pyproject.toml

+1
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

-1
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

-1
Original file line numberDiff line numberDiff line change
@@ -1056,7 +1056,6 @@ def test_big_fusion(self):
10561056
for node in dlogp.maker.fgraph.toposort()
10571057
)
10581058

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

0 commit comments

Comments
 (0)