replace exit method (#29862)

revert-31562-mean
Chen Weihang 5 years ago committed by GitHub
parent 2c0a4a3470
commit 0e0bb1b97d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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:

Loading…
Cancel
Save