def test_getattr_module(self):
        from test import anygui
        # causes a stack overflow if the bug occurs
        self.assertRaises(Exception, getattr, anygui, 'abc')
Replacing __getattr__ in a class shouldn't lead to calls to __getitem__
dataset/ETHPy150Open ofermend/medicare-demo/socialite/jython/Lib/test/test_import_jy.py/ImpTestCase.test_getattr_module