def test_exceptions_off(self):
    for support_longjmp in [0, 1]:
        self.set_setting('DISABLE_EXCEPTION_CATCHING', 1)
        self.do_run_from_file(path_from_root('tests', 'core', 'test_exceptions.cpp'), path_from_root('tests', 'core', 'test_exceptions_uncaught.out'), assert_returncode=None)
def test_exceptions_off(self):
    for support_longjmp in [0, 1]:
        self.set_setting('DISABLE_EXCEPTION_CATCHING', 1)
        self.do_run_from_file(path_from_root('tests', 'core', 'test_exceptions.cpp'), path_from_root('tests', 'core', 'test_exceptions_uncaught.out'), assert_returncode=None)