提交 1f984665 authored 作者: Arnaud Bergeron's avatar Arnaud Bergeron

Remove confusing sys.stdout.flush() which displaces the printing of messages.

上级 529eb383
......@@ -12,7 +12,6 @@ def test_bug_2009_06_02_trac_387():
f = theano.function([y],
tensor.int_div(
tensor.DimShuffle(y[0].broadcastable, ['x'])(y[0]), 2))
sys.stdout.flush()
print(f(numpy.ones(1, dtype='int64') * 3))
# XXX: there is no assert, nor comment that DEBUGMODE is to do the
# checking. What was the bug, and how is it being tested?
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论