micropython: add micropython component
This commit is contained in:
6
components/language/micropython/tests/basics/module2.py
Normal file
6
components/language/micropython/tests/basics/module2.py
Normal file
@@ -0,0 +1,6 @@
|
||||
# uPy behaviour only: builtin modules are read-only
|
||||
import usys
|
||||
try:
|
||||
usys.x = 1
|
||||
except AttributeError:
|
||||
print("AttributeError")
|
Reference in New Issue
Block a user