提交 2ab60b39 authored 作者: Ricardo Vieira's avatar Ricardo Vieira 提交者: Ricardo Vieira

Skip failing sparse tests on scipy 1.16

上级 13e52d87
...@@ -1159,6 +1159,10 @@ class TestCsm: ...@@ -1159,6 +1159,10 @@ class TestCsm:
structured=True, structured=True,
) )
@pytest.mark.skipif(
version.parse(sp.__version__) >= version.parse("1.16.0"),
reason="Scipy 1.16 introduced some changes that make this test fail",
)
def test_csm_sparser(self): def test_csm_sparser(self):
# Test support for gradients sparser than the input. # Test support for gradients sparser than the input.
...@@ -1191,6 +1195,10 @@ class TestCsm: ...@@ -1191,6 +1195,10 @@ class TestCsm:
assert len(spmat.data) == len(res) assert len(spmat.data) == len(res)
@pytest.mark.skipif(
version.parse(sp.__version__) >= version.parse("1.16.0"),
reason="Scipy 1.16 introduced some changes that make this test fail",
)
def test_csm_unsorted(self): def test_csm_unsorted(self):
# Test support for gradients of unsorted inputs. # Test support for gradients of unsorted inputs.
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论