mirror of
https://github.com/micropython/micropython.git
synced 2026-01-06 04:00:28 +01:00
tests: Add missing tests for builtins, and many other things.
This commit is contained in:
6
tests/basics/module2.py
Normal file
6
tests/basics/module2.py
Normal file
@@ -0,0 +1,6 @@
|
||||
# uPy behaviour only: builtin modules are read-only
|
||||
import sys
|
||||
try:
|
||||
sys.x = 1
|
||||
except AttributeError:
|
||||
print("AttributeError")
|
||||
Reference in New Issue
Block a user