Lines Matching refs:im_func
42 self.f.a.im_func.known_attr = 7
176 self.assertEqual(self.f.b.im_func, self.b)
177 self.assertEqual(self.fi.b.im_func, self.b)
205 self.f.a.im_func.known_attr = 7
239 self.f.a.im_func.klass = self.f
240 for method in [self.f.a, self.fi.a, self.fi.a.im_func]:
260 self.cannot_set_attr(self.f.a.im_func, '__dict__', d, TypeError)
261 self.cannot_set_attr(self.fi.a.im_func, '__dict__', d, TypeError)
267 self.f.a.im_func.__dict__ = d
272 self.assertIs(d, self.f.a.im_func.__dict__)
274 self.assertIs(d, self.fi.a.im_func.__dict__)
281 self.assertEqual(self.f.a.im_func.known_attr, 7)
283 self.assertEqual(self.fi.a.im_func.known_attr, 7)
315 self.b.__doc__ = self.f.a.im_func.__doc__ = docstr