提交 6ee660fc authored 作者: David Warde-Farley's avatar David Warde-Farley

... Fix the failing test.

上级 b6b8312b
...@@ -184,7 +184,7 @@ def test_sort_schedule_fn(): ...@@ -184,7 +184,7 @@ def test_sort_schedule_fn():
nodes = f.maker.linker.make_all()[-1] nodes = f.maker.linker.make_all()[-1]
depends = make_depends() depends = make_depends()
for a, b in zip(nodes[:-1], nodes[1:]): for a, b in zip(nodes[:-1], nodes[1:]):
if not depends(b, a): if not depends((b, a)):
assert str(a) < str(b) assert str(a) < str(b)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论