def test_exceptions_white_list_2(self):
    self.set_setting('DISABLE_EXCEPTION_CATCHING', 2)
    if (not self.is_wasm_backend()):
        self.set_setting('EXCEPTION_CATCHING_WHITELIST', ['_main'])
    else:
        self.set_setting('EXCEPTION_CATCHING_WHITELIST', ['main'])
    self.set_setting('INLINING_LIMIT', 1)
    self.do_run_in_out_file_test('tests', 'core', 'test_exceptions_white_list_2')
def test_exceptions_white_list_2(self):
    self.set_setting('DISABLE_EXCEPTION_CATCHING', 2)
    if (not self.is_wasm_backend()):
        self.set_setting('EXCEPTION_CATCHING_WHITELIST', ['_main'])
    else:
        self.set_setting('EXCEPTION_CATCHING_WHITELIST', ['main'])
    self.set_setting('INLINING_LIMIT', 1)
    self.do_run_in_out_file_test('tests', 'core', 'test_exceptions_white_list_2')