提交 b428c1ea 编写于 作者: Q qiaolongfei

fix dis transpile test

上级 7c12c0f8
...@@ -95,8 +95,9 @@ class TranspilerTest(unittest.TestCase): ...@@ -95,8 +95,9 @@ class TranspilerTest(unittest.TestCase):
def test_transpiler(self): def test_transpiler(self):
main = fluid.Program() main = fluid.Program()
startup = fluid.Program() startup = fluid.Program()
with fluid.program_guard(main, startup): with fluid.unique_name.guard():
self.transpiler_test_impl() with fluid.program_guard(main, startup):
self.transpiler_test_impl()
class TestBasicModel(TranspilerTest): class TestBasicModel(TranspilerTest):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册