Skip to content
Snippets Groups Projects
Commit bc5bffbf authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

tests/micropython/opt_level: Clarify the expected output for opt_level == 3.

parent 53018d5a
Branches
No related tags found
No related merge requests found
......@@ -14,5 +14,6 @@ exec('print(__debug__)')
exec('assert 0')
# check that level 3 doesn't store line numbers
# the expected output is that any line is printed as "line 1"
micropython.opt_level(3)
exec('try:\n xyz\nexcept NameError as er:\n import sys\n sys.print_exception(er)')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment