提交 9954ab57 authored 作者: Frederic's avatar Frederic

less test print.

上级 4f44bfa7
......@@ -195,8 +195,8 @@ def test_clinker_literal_inlining():
fn = lnk.make_function()
assert abs(fn(2.0, 2.0) + 0.12345678) < 1e-9
code = lnk.code_gen()
print "=== Code generated ==="
print code
#print "=== Code generated ==="
#print code
assert "4.12345678" in code # we expect the number to be inlined
......
......@@ -110,22 +110,22 @@ class FailureWatch:
def consistent(g):
print "Testing consistent:", g
#print "Testing consistent:", g
try:
assert g.consistent()
except AssertionError:
print "Test failed! The graph was marked as NOT consistent."
raise
print "Test OK"
#print "Test OK"
def inconsistent(g):
print "Testing NOT consistent:", g
#print "Testing NOT consistent:", g
try:
assert not g.consistent()
except AssertionError:
print "Test failed! The graph was marked as consistent."
raise
print "Test OK"
#print "Test OK"
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论