File: fake_module_with_broken_getattr.py

package info (click to toggle)
astroid 4.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,132 kB
  • sloc: python: 38,560; makefile: 24
file content (7 lines) | stat: -rw-r--r-- 100 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
class Broken:

    def __getattr__(self, name):
        raise Exception("boom")


broken = Broken()