Lines Matching refs:py_item
89 py_item = getattr(module, name)
91 self.assertIsInstance(py_item, (FunctionType, BuiltinFunctionType))
92 if py_item.__module__ != moduleName:
94 self.assertEqual(py_item.__module__, value.module)
96 self.assertIsInstance(py_item, type)
97 if py_item.__module__ != moduleName:
100 real_bases = [base.__name__ for base in py_item.__bases__]
107 print("class=%s" % py_item, file=sys.stderr)
111 for m in py_item.__dict__.keys():
112 if ismethod(py_item, getattr(py_item, m), m):
123 self.assertEqual(py_item.__module__, value.module)
125 self.assertEqualsOrIgnored(py_item.__name__, value.name,
129 print("class=%s" % py_item, file=sys.stderr)