提交 a4f3afeb authored 作者: Frederic Bastien's avatar Frederic Bastien

Make a test don't print to stdout

上级 9c0344cb
...@@ -169,7 +169,8 @@ def test_debugprint(): ...@@ -169,7 +169,8 @@ def test_debugprint():
g = theano.function([A, B, D, E], G, mode=mode) g = theano.function([A, B, D, E], G, mode=mode)
# just test that it work # just test that it work
debugprint(G) s = StringIO()
debugprint(G, file=s)
# test ids=int # test ids=int
s = StringIO() s = StringIO()
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论