Skip to content

Commit 7298abe

Browse files
committed
wip: all tests pass
1 parent 3566438 commit 7298abe

File tree

3 files changed

+2
-35
lines changed

3 files changed

+2
-35
lines changed

tests/basics/struct_micropython.py

Lines changed: 0 additions & 32 deletions
This file was deleted.

tests/basics/struct_micropython.py.exp

Lines changed: 0 additions & 2 deletions
This file was deleted.

tests/micropython/opt_level_lineno.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33
# check that level 3 doesn't store line numbers
44
# the expected output is that any line is printed as "line 1"
55
micropython.opt_level(3)
6-
exec("try:\n xyz\nexcept NameError as er:\n import sys\n sys.print_exception(er)")
6+
# CIRCUITPY-CHANGE: use traceback.print_exception() instead of sys.print_exception()
7+
exec("try:\n xyz\nexcept NameError as er:\n import traceback\n traceback.print_exception(er)")

0 commit comments

Comments
 (0)