提交 3ec98ece authored 作者: sentient07's avatar sentient07

Small deprecation fix

上级 27573ab7
...@@ -83,7 +83,7 @@ def test_pydotprint_variables(): ...@@ -83,7 +83,7 @@ def test_pydotprint_variables():
try: try:
theano.printing.pydotprint(x * 2) theano.printing.pydotprint(x * 2)
if not theano.printing.pd.__name__ == "pydot_ng": if not theano.printing.pd.__name__ == "pydot_ng":
theano.printing.pydotprint_variables(x * 2) theano.printing.pydotprint(x * 2)
finally: finally:
theano.theano_logger.addHandler(orig_handler) theano.theano_logger.addHandler(orig_handler)
theano.theano_logger.removeHandler(new_handler) theano.theano_logger.removeHandler(new_handler)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论