提交 b248ebac authored 作者: ricardoV94's avatar ricardoV94 提交者: Ricardo Vieira

Make xfail strict

上级 fbd14ed8
......@@ -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
......
......@@ -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)
......
......@@ -1056,7 +1056,6 @@ class TestFusion:
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
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论