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