提交 513b04ab authored 作者: Frederic's avatar Frederic

Skip test when pydot isn't there

上级 1dcc7eb2
......@@ -725,6 +725,10 @@ def test_scan_debugprint5():
def test_printing_scan():
# Skip test if pydot is not available.
if not theano.printing.pydot_imported:
raise SkipTest('pydot not available')
def f_pow2(x_tm1):
return 2 * x_tm1
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论