Skip to content

Commit 8c03ffd

Browse files
committed
fixup! Implement chained exceptions
1 parent 26d9d4e commit 8c03ffd

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

py/circuitpy_mpconfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ typedef long mp_off_t;
225225
#define MICROPY_CPYTHON_COMPAT (CIRCUITPY_FULL_BUILD)
226226
#endif
227227
#ifndef MICROPY_CPYTHON_EXCEPTION_CHAIN
228-
#define MICROPY_CPYTHON_EXCEPTION_CHAIN (CIRCUITPY_CPYTHON_COMPAT)
228+
#define MICROPY_CPYTHON_EXCEPTION_CHAIN (CIRCUITPY_FULL_BUILD)
229229
#endif
230230
#define MICROPY_PY_BUILTINS_POW3 (CIRCUITPY_BUILTINS_POW3)
231231
#define MICROPY_PY_FSTRINGS (1)

tests/run-tests.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -512,8 +512,12 @@ def run_tests(pyb, tests, args, result_dir, num_threads=1):
512512
skip_tests.add("basics/scope_implicit.py") # requires checking for unbound local
513513
skip_tests.add("basics/try_finally_return2.py") # requires raise_varargs
514514
skip_tests.add("basics/unboundlocal.py") # requires checking for unbound local
515-
skip_tests.add(
516-
"circuitpython/traceback_test.py"
515+
skip_tests.update(
516+
(
517+
"basics/chained_exception.py",
518+
"circuitpython/traceback_test.py",
519+
"circuitpython/traceback_test_chained.py",
520+
)
517521
) # because native doesn't have proper traceback info
518522
skip_tests.add("extmod/uasyncio_event.py") # unknown issue
519523
skip_tests.add("extmod/uasyncio_lock.py") # requires async with

0 commit comments

Comments
 (0)