summaryrefslogtreecommitdiff
path: root/tests/template_tests/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/template_tests/utils.py')
-rw-r--r--tests/template_tests/utils.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/template_tests/utils.py b/tests/template_tests/utils.py
index f8585979d7..1747f080bc 100644
--- a/tests/template_tests/utils.py
+++ b/tests/template_tests/utils.py
@@ -137,6 +137,10 @@ class SomeClass:
def attribute_error_attribute(self):
raise AttributeError
+ @property
+ def type_error_attribute(self):
+ raise TypeError
+
class OtherClass:
def method(self):