Lines Matching refs:getmembers
231 members = dict(inspect.getmembers(x))
357 classes = inspect.getmembers(mod, inspect.isclass)
394 functions = inspect.getmembers(mod, inspect.isfunction)
1103 self.assertEqual(inspect.getmembers(A, ismethoddescriptor),
1105 self.assertEqual(inspect.getmembers(A, isdatadescriptor),
1111 self.assertEqual(inspect.getmembers(B, ismethoddescriptor),
1113 self.assertEqual(inspect.getmembers(B, isdatadescriptor),
1121 self.assertIn(('f', B.f), inspect.getmembers(B))
1122 self.assertNotIn(('f', B.f), inspect.getmembers(B, inspect.ismethod))
1124 self.assertIn(('f', b.f), inspect.getmembers(b))
1125 self.assertIn(('f', b.f), inspect.getmembers(b, inspect.ismethod))
1137 self.assertIn(('eggs', 'scrambled'), inspect.getmembers(A))
1138 self.assertIn(('eggs', 'spam'), inspect.getmembers(A()))
1146 attrs = [a[0] for a in inspect.getmembers(C)]