Commit 679c0c4c authored by Damien George's avatar Damien George
Browse files

tests/micropython: Add test for import from within viper function.

parent 0f3388de
# test import within viper function
@micropython.viper
def f():
import micropython
print(micropython.const(1))
from micropython import const
print(const(2))
f()
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment