micropython: add micropython component
This commit is contained in:
11
components/language/micropython/tests/import/gen_context.py
Normal file
11
components/language/micropython/tests/import/gen_context.py
Normal file
@@ -0,0 +1,11 @@
|
||||
import gen_context2
|
||||
|
||||
GLOBAL = "GLOBAL"
|
||||
|
||||
|
||||
def gen():
|
||||
print(GLOBAL)
|
||||
yield 1
|
||||
|
||||
|
||||
gen_context2.call(gen())
|
Reference in New Issue
Block a user