tests/micropython/opt_level_lineno.py: Force test func to use bytecode.

So that the test can run the same on all targets when used with the native
emitter.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George
2025-08-11 14:07:09 +10:00
parent 95d1794afd
commit 3c72c3a1e6
3 changed files with 13 additions and 3 deletions

View File

@@ -131,7 +131,6 @@ emitter_tests_to_skip = {
"misc/print_exception.py",
"micropython/emg_exc.py",
"micropython/heapalloc_traceback.py",
"micropython/opt_level_lineno.py",
"thread/thread_exc2.py",
# These require stack-allocated slice optimisation.
"micropython/heapalloc_slice.py",