diff options
author | Damien George <damien.p.george@gmail.com> | 2019-08-23 11:25:46 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2019-08-28 12:47:58 +1000 |
commit | b3152b2de7115f5b2ca7a1b5240a33c0fb24bdc0 (patch) | |
tree | 24bc6c15854d8146eabe7b735670a9bac5120b1b /tests/micropython/opt_level.py | |
parent | af20c2ead3e9bb397fdf89e316aa78b56f165013 (diff) |
tests: Split out test for optimisation level and line-no printing.
Diffstat (limited to 'tests/micropython/opt_level.py')
-rw-r--r-- | tests/micropython/opt_level.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/micropython/opt_level.py b/tests/micropython/opt_level.py index 5a10047f0..4e2f2f4ea 100644 --- a/tests/micropython/opt_level.py +++ b/tests/micropython/opt_level.py @@ -12,8 +12,3 @@ exec('print(__debug__)') micropython.opt_level(1) 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)') |