diff options
author | Damien George <damien.p.george@gmail.com> | 2015-04-04 22:05:30 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2015-04-04 22:05:30 +0100 |
commit | 9dd36404646f857c4f250537bac0d9a8ad041d25 (patch) | |
tree | c6509bcd3c7d5c2e67332110c582df2b5a5c669f /tests/basics/module2.py | |
parent | 7e758b1cf878312cab5d9d2825b36e7235ea10a3 (diff) |
tests: Add missing tests for builtins, and many other things.
Diffstat (limited to 'tests/basics/module2.py')
-rw-r--r-- | tests/basics/module2.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/basics/module2.py b/tests/basics/module2.py new file mode 100644 index 000000000..a13560157 --- /dev/null +++ b/tests/basics/module2.py @@ -0,0 +1,6 @@ +# uPy behaviour only: builtin modules are read-only +import sys +try: + sys.x = 1 +except AttributeError: + print("AttributeError") |