/usr/lib/python3.7/test/bad_getattr3.py is in libpython3.7-testsuite 3.7.0~b3-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 | def __getattr__(name):
if name != 'delgetattr':
raise AttributeError
del globals()['__getattr__']
raise AttributeError
|