summaryrefslogtreecommitdiffstatshomepage
path: root/tests
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-03-25 00:55:39 +0200
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-03-25 01:39:10 +0200
commit7f8b31345b6be789792b676a8975497648b19a5c (patch)
tree1551222afe9a721fb7899602918cc78c61631396 /tests
parentda5e269e51222767775eaac0c0253dbf477b45c1 (diff)
downloadmicropython-7f8b31345b6be789792b676a8975497648b19a5c.tar.gz
micropython-7f8b31345b6be789792b676a8975497648b19a5c.zip
rt_load_method(): Add missing qstr_str() when getting type name.
Diffstat (limited to 'tests')
-rw-r--r--tests/basics/types1.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/basics/types1.py b/tests/basics/types1.py
index 850b31b08c..57b33b842b 100644
--- a/tests/basics/types1.py
+++ b/tests/basics/types1.py
@@ -26,3 +26,8 @@ print(type(()) == tuple)
print(type([]) == list)
print(type({None}) == set)
print(type({}) == dict)
+
+try:
+ bool.foo
+except AttributeError:
+ print("AttributeError")