diff options
| author | Tim Graham <timograham@gmail.com> | 2016-08-31 13:44:38 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-08-31 13:44:38 -0400 |
| commit | 59afe61a970dd60df388e7cda9041ef3c0e770cb (patch) | |
| tree | b5741f718e50a7fca8f6d1d54db46078ce9630da /tests/template_tests/utils.py | |
| parent | 65ec8fa8ca56a5378345375e1079025c96d0b833 (diff) | |
Fixed #27140 -- Prevented template rendering from hiding a property's TypeError.
Diffstat (limited to 'tests/template_tests/utils.py')
| -rw-r--r-- | tests/template_tests/utils.py | 4 |
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): |
