提交 48a9e5b3 authored 作者: Pascal Lamblin's avatar Pascal Lamblin

Actually use the "mode" argument in test_bad_runtime.

上级 8cbf0e7e
...@@ -238,7 +238,7 @@ def makeTester(name, op, expected, checks = {}, good = {}, bad_build = {}, ...@@ -238,7 +238,7 @@ def makeTester(name, op, expected, checks = {}, good = {}, bad_build = {},
raise type, exc_value, traceback raise type, exc_value, traceback
try: try:
f = inplace_func(inputrs, node.outputs) f = inplace_func(inputrs, node.outputs, mode=mode)
except: except:
type, exc_value, traceback = sys.exc_info() type, exc_value, traceback = sys.exc_info()
err_msg = "Test %s::%s: Error occurred while trying to make a Function" \ err_msg = "Test %s::%s: Error occurred while trying to make a Function" \
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论