提交 2c4968a5 authored 作者: Brandon T. Willard's avatar Brandon T. Willard 提交者: Brandon T. Willard

Add a comment describing the behavior of TestLocalCanonicalizeAlloc.test_inconsistent_constant

上级 c6219d62
......@@ -1347,7 +1347,7 @@ class TestLocalCanonicalizeAlloc:
assert a.owner and isinstance(a.owner.op, Alloc)
# with aesara.config.change_flags(optimizer_verbose=True):
# `local_useless_alloc` should replace the `Alloc` with an `Assert`
with pytest.raises(AssertionError):
f = function([], a, mode=mode_opt)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论