提交 da5281be authored 作者: Ricardo Vieira's avatar Ricardo Vieira 提交者: Ricardo Vieira

Fix test name

上级 5961b23f
...@@ -794,7 +794,7 @@ class TestAlloc: ...@@ -794,7 +794,7 @@ class TestAlloc:
assert np.array_equal(res, np.full((2, 3), 3, dtype="int64")) assert np.array_equal(res, np.full((2, 3), 3, dtype="int64"))
def test_infer_broadcastable(): def test_infer_shape():
with pytest.raises(TypeError, match="^Shapes must be scalar integers.*"): with pytest.raises(TypeError, match="^Shapes must be scalar integers.*"):
infer_static_shape([constant(1.0)]) infer_static_shape([constant(1.0)])
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论