tests: Add missing tests for builtins, and many other things.

This commit is contained in:
Damien George
2015-04-04 22:05:30 +01:00
parent 7e758b1cf8
commit 9dd3640464
37 changed files with 406 additions and 14 deletions

6
tests/basics/module2.py Normal file
View File

@@ -0,0 +1,6 @@
# uPy behaviour only: builtin modules are read-only
import sys
try:
sys.x = 1
except AttributeError:
print("AttributeError")