提交 8cf2229f authored 作者: Frederic Bastien's avatar Frederic Bastien

fix test.

上级 691ec080
...@@ -295,7 +295,7 @@ class TestComputeTestValue(unittest.TestCase): ...@@ -295,7 +295,7 @@ class TestComputeTestValue(unittest.TestCase):
# Check that the c_code function is not implemented # Check that the c_code function is not implemented
self.assertRaises(NotImplementedError, o.owner.op.c_code, self.assertRaises(NotImplementedError, o.owner.op.c_code,
o.owner, 'o', ('x', 'y'), 'z', {'fail': ''}) o.owner, 'o', ['x', 'y'], 'z', {'fail': ''})
assert hasattr(o.tag, 'test_value') assert hasattr(o.tag, 'test_value')
assert o.tag.test_value == 1 assert o.tag.test_value == 1
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论