提交 20e31da5 authored 作者: Frederic's avatar Frederic

Fix test with old scipy.

上级 cbf43273
...@@ -2105,7 +2105,6 @@ class Test_getitem(unittest.TestCase): ...@@ -2105,7 +2105,6 @@ class Test_getitem(unittest.TestCase):
def test_GetItem2D(self): def test_GetItem2D(self):
scipy_ver = [int(n) for n in scipy.__version__.split('.')[:2]] scipy_ver = [int(n) for n in scipy.__version__.split('.')[:2]]
assert scipy_ver >= [0, 11]
is_supported_version = bool(scipy_ver >= [0, 14]) is_supported_version = bool(scipy_ver >= [0, 14])
sparse_formats = ('csc', 'csr') sparse_formats = ('csc', 'csr')
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论