summaryrefslogtreecommitdiff
path: root/tests/testdata/python3/data
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testdata/python3/data')
-rw-r--r--tests/testdata/python3/data/fake_module_with_broken_getattr.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/testdata/python3/data/fake_module_with_broken_getattr.py b/tests/testdata/python3/data/fake_module_with_broken_getattr.py
new file mode 100644
index 00000000..e860928e
--- /dev/null
+++ b/tests/testdata/python3/data/fake_module_with_broken_getattr.py
@@ -0,0 +1,7 @@
+class Broken:
+
+ def __getattr__(self, name):
+ raise Exception("boom")
+
+
+broken = Broken()