summaryrefslogtreecommitdiffstatshomepage
path: root/tests/basics
diff options
context:
space:
mode:
Diffstat (limited to 'tests/basics')
-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")