diff --git a/python/paddle/fluid/tests/unittests/test_run_program_op.py b/python/paddle/fluid/tests/unittests/test_run_program_op.py index 57281eafff7ee1de6d4685ba7cff54cbf4e056ac..68f24bf25700848222843cb06852583d0f4db377 100644 --- a/python/paddle/fluid/tests/unittests/test_run_program_op.py +++ b/python/paddle/fluid/tests/unittests/test_run_program_op.py @@ -99,7 +99,7 @@ class RunProgramOpTest(unittest.TestCase): def prepare_attrs(self): return ('global_block', self.program_desc.block(0), 'start_op_index', 0, 'end_op_index', self.fwd_op_num, 'program_id', - _hash_with_id(self.program_desc)) + _hash_with_id(self.program_desc, self)) def get_param_grad_names(self): grad_names = []