提交 077258e9 authored 作者: Frederic's avatar Frederic

Catch the good error

上级 e7625b8d
...@@ -361,7 +361,7 @@ def test_opt_gpujoin_joinvectors_negativeaxes(): ...@@ -361,7 +361,7 @@ def test_opt_gpujoin_joinvectors_negativeaxes():
f = theano.function(inputs=[], outputs=t) f = theano.function(inputs=[], outputs=t)
f() f()
assert(False) assert(False)
except ValueError: except IndexError:
assert(True) assert(True)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论