未验证 提交 0e0bb1b9 编写于 作者: C Chen Weihang 提交者: GitHub

replace exit method (#29862)

上级 2c0a4a34
......@@ -41,7 +41,7 @@ class TestDygraphDataLoaderSingalHandler(unittest.TestCase):
def test_child_process_exit_with_error(self):
def __test_process__():
core._set_process_signal_handler()
sys.exit(1)
os._exit(os.EX_DATAERR)
exception = None
try:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册